feat 优化账号登录token
This commit is contained in:
parent
0b1128c785
commit
e98c70bd15
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue