We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f73219 commit a471baeCopy full SHA for a471bae
server/api/v1/sys_user.go
@@ -130,7 +130,7 @@ func tokenNext(c *gin.Context, user model.SysUser) {
130
response.FailWithMessage("jwt作废失败", c)
131
return
132
}
133
- if err := service.SetRedisJWT(jwtStr, user.Username); err != nil {
+ if err := service.SetRedisJWT(token, user.Username); err != nil {
134
response.FailWithMessage("设置登录状态失败", c)
135
136
0 commit comments