feat: There is no way the

This commit is contained in:
super_liu
2021-10-30 12:42:25 +08:00
parent 148cdd5d42
commit 495f3c72ee
@@ -96,7 +96,7 @@ public class LoginRestController {
if(userEO.getDisableFlag()==1){
return Result.error("r0011", "帐号已禁用");
}
String token = jwtUtils.generateToken(account);
String token = jwtUtils.generateToken(userEO.getUsid());
userEO.setToken(token);
// 加密重要信息
BASE64Encoder encoder = new BASE64Encoder();