master
黄海 5 years ago
parent 88d2313586
commit 7f7ddfd6d4

@ -460,11 +460,7 @@ func insertRedisCache(accessKey string, secretKey string, redirectUri string) er
}
defer resp.Body.Close()
body, err := ioutil.ReadAll(resp.Body)
if err != nil {
return err
}
fmt.Println(string(body))
_, _ = ioutil.ReadAll(resp.Body)
return nil
}

Loading…
Cancel
Save