Compare commits

..

No commits in common. "2b212d2903c7056e1aead6da96693f4e4de088f7" and "13fc02b8ba3eaa6950ee039aa8cb16d2b971551e" have entirely different histories.

View File

@ -8,7 +8,6 @@ package jwt
import (
"context"
"fmt"
"fonchain-fiee/api/account"
"fonchain-fiee/api/accountFiee"
"fonchain-fiee/cmd/config"
@ -49,7 +48,6 @@ func ParseToChatUser(c *gin.Context) (chatUserInfo *accountFiee.ChatUserData, co
var fieeJwtInfo *accountFiee.DecryptJwtResponse
fieeJwtInfo, err = service.AccountFieeProvider.DecryptJwt(ctx, &accountFiee.DecryptJwtRequest{Token: token, Domain: domain})
if err != nil || fieeJwtInfo.IsOffline {
code = e.NotLogin
return
}
originId = int64(fieeJwtInfo.ID)
@ -74,7 +72,6 @@ func ParseToChatUser(c *gin.Context) (chatUserInfo *accountFiee.ChatUserData, co
Page: 1,
PageSize: 1,
})
fmt.Println("获取chat user ... err:", err)
if err != nil || userQueryRes.Total == 0 {
code = e.ErrorNotExistUser
return