1
This commit is contained in:
20
platformapi/ali_logistics_query/logistics_test.go
Normal file
20
platformapi/ali_logistics_query/logistics_test.go
Normal 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))
|
||||
}
|
||||
Reference in New Issue
Block a user