Update check_login.go
This commit is contained in:
parent
41e28c9aed
commit
fe9173b872
@ -89,9 +89,10 @@ func CheckWebLogin(provider *account.AccountClientImpl) gin.HandlerFunc {
|
|||||||
service.NotLoginRes(ctx, logic.ConvertLoginMsg(ctx, e.ErrNotLogin))
|
service.NotLoginRes(ctx, logic.ConvertLoginMsg(ctx, e.ErrNotLogin))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
fmt.Println("authorization", authorization)
|
||||||
jwt, err := secret.GetJwtFromStr(authorization)
|
jwt, err := secret.GetJwtFromStr(authorization)
|
||||||
|
fmt.Println("jwt", jwt)
|
||||||
|
fmt.Println("jwt_err", err)
|
||||||
logger.Info("---------end帐号转jwt:时间:", time.Now().Sub(startTime))
|
logger.Info("---------end帐号转jwt:时间:", time.Now().Sub(startTime))
|
||||||
if err != nil {
|
if err != nil {
|
||||||
service.NotLoginRes(ctx, err.Error())
|
service.NotLoginRes(ctx, err.Error())
|
||||||
|
Loading…
Reference in New Issue
Block a user