This commit is contained in:
ehlxr 2019-11-15 18:22:14 +08:00
parent 25799290fa
commit b4365edd1b

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",