Commit b991293f authored by m1991's avatar m1991

后台接口——用户与资讯后台接口

parent 7ceffae5
......@@ -143,8 +143,8 @@ public class UserServiceImpl extends ServiceImpl<UsersMapper, User> implements U
Map map = new HashMap();
R.error(1, "邀请码填写无效!邀请人不存在,请重新填写!");
map.put("code:", 1);
map.put("msg:", "邀请码填写无效!邀请人不存在,请重新填写!");
map.put("code", 1);
map.put("msg", "邀请码填写无效!邀请人不存在,请重新填写!");
return map;
// String byqm = user.getBeInvitedCode();
}
......@@ -167,8 +167,8 @@ public class UserServiceImpl extends ServiceImpl<UsersMapper, User> implements U
if (null == idb) {
Map map = new HashMap();
R.error(1, "邀请码填写无效!邀请人不存在,请重新填写!");
map.put("code:", 1);
map.put("msg:", "邀请码填写无效!邀请人不存在,请重新填写!");
map.put("code", 1);
map.put("msg", "邀请码填写无效!邀请人不存在,请重新填写!");
return map;
}
//推荐人的id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment