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