...
|
...
|
@@ -115,7 +115,7 @@ func RefreshToken(request *protocol.RefreshTokenRequest) (rsp *protocol.RefreshT |
|
|
)
|
|
|
rsp = &protocol.RefreshTokenResponse{}
|
|
|
if claim, err = utils.ParseJWTToken(request.RefreshToken); err != nil {
|
|
|
err = protocol.NewErrWithMessage(4139, err)
|
|
|
err = protocol.NewErrWithMessage(4140, err)
|
|
|
return
|
|
|
}
|
|
|
if claim.UserId <= 0 {
|
...
|
...
|
|