This commit is contained in:
cdle
2021-09-02 12:31:47 +08:00
parent d0caeda83d
commit 7dccdacd34
3 changed files with 62 additions and 11 deletions
+3 -3
View File
@@ -108,9 +108,9 @@ func req(ps ...interface{}) error {
if method != GET {
req.Body(body)
}
// fmt.Println(Config.Host + "/open/" + api)
// fmt.Println(method)
// fmt.Println(string(body))
fmt.Println(Config.Host + "/open/" + api)
fmt.Println(method)
fmt.Println(string(body))
req.Body(body)
data, err := req.Bytes()
if err != nil {