feat 优化账号登录token

This commit is contained in:
damonyuan 2024-11-08 14:20:48 +08:00
parent 0b1128c785
commit e98c70bd15
1 changed files with 1 additions and 1 deletions

View File

@ -438,7 +438,7 @@ public class LoginServiceImpl implements ILoginService {
*/
private LoginTokenVo __loginToken(Integer userId, String mobile, Integer isNew, Integer terminal) {
// 实现账号登录
StpUtil.login(userId, String.valueOf(terminal));
StpUtil.login(userId, String.valueOf(terminal + ToolUtils.makeToken()));
// 更新登录信息
User user = new User();