|
|
|
|
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)
|