|
@@ -683,7 +683,7 @@ func checkToken(c *BaseAuthController) (isOk bool, token string, resp models.Bas
|
|
|
if aiUser == `` {
|
|
|
aiUser = c.Ctx.GetCookie("ai_token")
|
|
|
}
|
|
|
- //fmt.Println("ai_user:", aiUser)
|
|
|
+ fmt.Println("ai_user:", aiUser)
|
|
|
//fmt.Println("token:", token)
|
|
|
if aiUser != "" {
|
|
|
// Token空了, 以Cookie为准重新登录
|