1
0
mirror of https://github.com/silenceper/wechat.git synced 2026-02-04 12:52:27 +08:00

fix: typo (#595)

This commit is contained in:
stepbystep2
2022-08-02 20:16:38 +08:00
committed by GitHub
parent 108a65ecf3
commit fdaffb6aa2

View File

@@ -65,7 +65,7 @@ func HTTPPostContext(ctx context.Context, uri string, data []byte, header map[st
defer response.Body.Close()
if response.StatusCode != http.StatusOK {
return nil, fmt.Errorf("http get error : uri=%v , statusCode=%v", uri, response.StatusCode)
return nil, fmt.Errorf("http post error : uri=%v , statusCode=%v", uri, response.StatusCode)
}
return ioutil.ReadAll(response.Body)
}