mirror of
https://github.com/xxjwxc/public.git
synced 2025-09-26 20:01:19 +08:00
1
This commit is contained in:
@@ -42,7 +42,7 @@ func OnGetJSON(url, params string) string {
|
|||||||
defer resp.Body.Close()
|
defer resp.Body.Close()
|
||||||
body1, err1 := ioutil.ReadAll(resp.Body)
|
body1, err1 := ioutil.ReadAll(resp.Body)
|
||||||
if err1 != nil {
|
if err1 != nil {
|
||||||
mylog.Error(err1)
|
mylog.Error(url, err1)
|
||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user