作者 yangfu

权限修改

@@ -241,7 +241,7 @@ func RefreshToken(request *protocol.RefreshTokenRequest) (rsp *protocol.RefreshT @@ -241,7 +241,7 @@ func RefreshToken(request *protocol.RefreshTokenRequest) (rsp *protocol.RefreshT
241 //} 241 //}
242 userAuth, err = models.GetUserAuthByRefreshToken(request.RefreshToken) 242 userAuth, err = models.GetUserAuthByRefreshToken(request.RefreshToken)
243 if err != nil { 243 if err != nil {
244 - protocol.NewErrWithMessage(4139, err) 244 + err = protocol.NewErrWithMessage(4140, err)
245 return 245 return
246 } 246 }
247 //userAuth.AccessToken = uid.NewV1().StringNoDash() 247 //userAuth.AccessToken = uid.NewV1().StringNoDash()