Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
S
shop-Mall
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
licc
shop-Mall
Commits
c79bb230
Commit
c79bb230
authored
Mar 30, 2021
by
m1991
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
后台接口——用户与资讯后台接口
parent
fcefabae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
UserServiceImpl.java
...n/java/cn/wisenergy/service/app/impl/UserServiceImpl.java
+4
-4
No files found.
wisenergy-service/src/main/java/cn/wisenergy/service/app/impl/UserServiceImpl.java
View file @
c79bb230
...
...
@@ -142,9 +142,9 @@ public class UserServiceImpl extends ServiceImpl<UsersMapper, User> implements U
if
(
null
==
user
){
Map
map
=
new
HashMap
();
R
.
error
(
1
,
"邀请
码填写无效!邀请
人不存在,请重新填写!"
);
R
.
error
(
1
,
"邀请人不存在,请重新填写!"
);
map
.
put
(
"code"
,
1
);
map
.
put
(
"msg"
,
"邀请
码填写无效!邀请
人不存在,请重新填写!"
);
map
.
put
(
"msg"
,
"邀请人不存在,请重新填写!"
);
return
map
;
// String byqm = user.getBeInvitedCode();
}
...
...
@@ -166,9 +166,9 @@ public class UserServiceImpl extends ServiceImpl<UsersMapper, User> implements U
//判断是否存在被邀请人的用户
if
(
null
==
idb
)
{
Map
map
=
new
HashMap
();
R
.
error
(
1
,
"邀请
码填写无效!邀请
人不存在,请重新填写!"
);
R
.
error
(
1
,
"邀请人不存在,请重新填写!"
);
map
.
put
(
"code"
,
1
);
map
.
put
(
"msg"
,
"邀请
码填写无效!邀请
人不存在,请重新填写!"
);
map
.
put
(
"msg"
,
"邀请人不存在,请重新填写!"
);
return
map
;
}
//推荐人的id
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment