Files
baseapi/platformapi/ali_logistics_query/logistics_test.go
邹宗楠 7b6d4cb037 1
2022-12-12 14:29:04 +08:00

21 lines
541 B
Go

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))
}