Roc 6 mēneši atpakaļ
vecāks
revīzija
b6ec0a53f2
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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为准重新登录