Roc 4 months ago
parent
commit
b6ec0a53f2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controllers/base_auth.go

+ 1 - 1
controllers/base_auth.go

@@ -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为准重新登录