Compare commits
No commits in common. "5cfbfb687d40f72cc0239cb2cef13ae587e3a4a1" and "0839151de05bde4cca32edc40e8e2b7b5d08013d" have entirely different histories.
5cfbfb687d
...
0839151de0
@ -64,12 +64,12 @@ func ParseToChatUser(c *gin.Context) (chatUserInfo *accountFiee.ChatUserData, co
|
|||||||
}
|
}
|
||||||
if !check {
|
if !check {
|
||||||
// fontree token校验
|
// fontree token校验
|
||||||
// token, err = secret.GetJwtFromStr(token)
|
token, err = secret.GetJwtFromStr(token)
|
||||||
// if err != nil {
|
if err != nil {
|
||||||
// fmt.Println("fontree token err:", err)
|
fmt.Println("fontree token err:", err)
|
||||||
// code = e.NotLogin
|
code = e.NotLogin
|
||||||
// return
|
return
|
||||||
// }
|
}
|
||||||
var fontreeJwtInfo *account.DecryptJwtResponse
|
var fontreeJwtInfo *account.DecryptJwtResponse
|
||||||
fontreeJwtInfo, err = service.AccountProvider.DecryptJwt(ctx, &account.DecryptJwtRequest{Token: token, Domain: e.ErpDomain})
|
fontreeJwtInfo, err = service.AccountProvider.DecryptJwt(ctx, &account.DecryptJwtRequest{Token: token, Domain: e.ErpDomain})
|
||||||
if err != nil || fontreeJwtInfo.IsOffline {
|
if err != nil || fontreeJwtInfo.IsOffline {
|
||||||
|
Loading…
Reference in New Issue
Block a user