From 506c908f833260180b61a568bc371fa7f57c899e Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Mon, 16 Jan 2023 17:30:32 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- macao_logistics/api.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/macao_logistics/api.go b/macao_logistics/api.go index 0fb0852..41371cc 100644 --- a/macao_logistics/api.go +++ b/macao_logistics/api.go @@ -3,6 +3,7 @@ package macao_logistics import ( "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/comm" zhios_third_party_utils "code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git/utils" + "fmt" "strings" ) @@ -24,6 +25,8 @@ func Send(method string, params map[string]interface{}, acctoken string) (string header["Authorization"] = "Bearer " + acctoken } data, err := zhios_third_party_utils.CurlPost(url, params, header) + fmt.Println(string(data)) + fmt.Println(err) return string(data), err } func SendGet(method string, params map[string]interface{}, acctoken string) (string, error) { @@ -40,5 +43,7 @@ func SendGet(method string, params map[string]interface{}, acctoken string) (str } } data, err := zhios_third_party_utils.CurlGet(url, header) + fmt.Println(string(data)) + fmt.Println(err) return string(data), err }