This commit is contained in:
eson 2023-08-30 10:52:18 +08:00
parent 2372dab72b
commit ac834fa299

View File

@ -80,8 +80,8 @@ func ParseJwtToken(r *http.Request, svcCtx any) (*auth.UserInfo, error) {
us, err := shared.GetUserState(info.UserId, gdb)
if err != nil {
log.Println("error", info)
logx.Error(err)
// logx.Println("error", info)
logx.Error(err, ":", info)
return nil, err
}
secret = us.PwdHash // 获取密码的hash做jwt, 便于重置密码的使用