This commit is contained in:
邹宗楠
2022-12-12 14:29:04 +08:00
parent 2bc0d518cd
commit 7b6d4cb037
16 changed files with 660 additions and 7726 deletions

View File

@@ -0,0 +1,20 @@
package ali_logistics_query
import (
"git.rosy.net.cn/baseapi/utils"
"git.rosy.net.cn/jx-callback/globals"
"testing"
)
var (
appKey = "23537670"
appSecret = "4a77a431c0bf01f6dfa63d1a1ec9ecd2"
appCode = "00a6eefba0204d3fa310ac0ee7a6fc54"
)
func Test(t *testing.T) {
api := New(appKey, appSecret, appCode)
result, err := api.GetLogisticsInfo("JD0088184529553")
globals.SugarLogger.Debugf("result======== %s", utils.Format4Output(result, false))
globals.SugarLogger.Debugf("err======== %s", utils.Format4Output(err, false))
}