XMLWAN 4 years ago
parent
commit
991bef896a
2 changed files with 0 additions and 3 deletions
  1. 0 0
      README.md
  2. 0 3
      controllers/login/login_controller.go

+ 0 - 0
README.md View File


+ 0 - 3
controllers/login/login_controller.go View File

48
 	fmt.Println("redisClient", redisClient)
48
 	fmt.Println("redisClient", redisClient)
49
 	defer redisClient.Close()
49
 	defer redisClient.Close()
50
 	token, err := redisClient.Get("qn_token").Result()
50
 	token, err := redisClient.Get("qn_token").Result()
51
-	fmt.Println("token是什么", token)
52
-	fmt.Println("错误", err)
53
-	fmt.Println("token", token)
54
 	if err != nil {
51
 	if err != nil {
55
 		defer fmt.Println(err)
52
 		defer fmt.Println(err)
56
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeGetQiniuUpToken)
53
 		this.ServeFailJSONWithSGJErrorCode(enums.ErrorCodeGetQiniuUpToken)