feat 优化前台生成token的方案

This commit is contained in:
damonyuan 2024-11-08 14:32:20 +08:00
parent e98c70bd15
commit 49ac3a95eb
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 + ToolUtils.makeToken()));
StpUtil.login(userId);
// 更新登录信息
User user = new User();