【8.0】【auth】payload标识修改

pull/57/head
fengshuonan 2023-08-30 10:54:19 +08:00
parent d503d1a172
commit 6e216f911f
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@ public class CustomerServiceImpl extends ServiceImpl<CustomerMapper, Customer> i
// 生成用户的token // 生成用户的token
DefaultJwtPayload defaultJwtPayload = new DefaultJwtPayload(loginUser.getUserId(), loginRequest.getAccount(), DefaultJwtPayload defaultJwtPayload = new DefaultJwtPayload(loginUser.getUserId(), loginRequest.getAccount(),
loginRequest.getRememberMe(), null, null); loginRequest.getRememberMe(), null);
String jwtToken = AuthJwtContext.me().generateTokenDefaultPayload(defaultJwtPayload); String jwtToken = AuthJwtContext.me().generateTokenDefaultPayload(defaultJwtPayload);
loginUser.setToken(jwtToken); loginUser.setToken(jwtToken);