团队名称返回

main
cheney 11 months ago
parent b4492a199a
commit 80fe3d8a92
  1. 3
      nakadai/src/main/java/com/huoran/nakadai/service/impl/PlatformTeamAccountServiceImpl.java

@ -115,7 +115,6 @@ public class PlatformTeamAccountServiceImpl extends ServiceImpl<PlatformTeamAcco
//更新登录时间 //更新登录时间
baseMapper.updateUserInfo(userAccount.getUserId()); baseMapper.updateUserInfo(userAccount.getUserId());
data.put("state", "login"); data.put("state", "login");
data.put("teamName", userAccount.getAccount() + "的团队");
data.put("platformId", platformId); data.put("platformId", platformId);
data.put("token", JwtUtils.getJwtToken(userAccount.getId().toString())); data.put("token", JwtUtils.getJwtToken(userAccount.getId().toString()));
userExists = true; // 如果用户存在,将标志位设为true userExists = true; // 如果用户存在,将标志位设为true
@ -132,7 +131,6 @@ public class PlatformTeamAccountServiceImpl extends ServiceImpl<PlatformTeamAcco
//更新登录时间 //更新登录时间
baseMapper.updateUserInfo(userAccount.getUserId()); baseMapper.updateUserInfo(userAccount.getUserId());
data.put("state", "login"); data.put("state", "login");
data.put("teamName", userAccount.getAccount() + "的团队");
data.put("platformId", platformId); data.put("platformId", platformId);
data.put("token", JwtUtils.getJwtToken(userAccount.getId().toString())); data.put("token", JwtUtils.getJwtToken(userAccount.getId().toString()));
userExists = true; // 如果用户存在,将标志位设为true userExists = true; // 如果用户存在,将标志位设为true
@ -227,6 +225,7 @@ public class PlatformTeamAccountServiceImpl extends ServiceImpl<PlatformTeamAcco
platformTeamMapper.insert(platformTeam); platformTeamMapper.insert(platformTeam);
} }
data.put("teamId",platformTeamClassification.getId()); data.put("teamId",platformTeamClassification.getId());
data.put("teamName",teamName);
} }
// 注册成功返回token // 注册成功返回token

Loading…
Cancel
Save