master
ehlxr 2019-11-15 18:22:14 +08:00
parent 25799290fa
commit b4365edd1b
1 changed files with 3 additions and 1 deletions

View File

@ -117,7 +117,9 @@ func dingToInfo(msg string) []byte {
err)
}
defer resp.Body.Close()
defer func() {
_ = resp.Body.Close()
}()
body, _ := ioutil.ReadAll(resp.Body)
log.Info("send to %s data <%s> result is %s",