feat 优化前台生成token的方案
This commit is contained in:
parent
e98c70bd15
commit
49ac3a95eb
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue