Roc hai 6 meses
pai
achega
b6ec0a53f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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为准重新登录