jd decode
This commit is contained in:
@@ -94,7 +94,7 @@ func TestDeliveryEndOrder(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetAfsService(t *testing.T) {
|
||||
result, err := api.GetAfsService("34081924")
|
||||
result, err := api.GetAfsService("2225735125000294")
|
||||
if err != nil {
|
||||
t.Fatal(err.Error())
|
||||
}
|
||||
@@ -138,7 +138,7 @@ func TestOrderQuery2(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestGetByOrderNoForOaos(t *testing.T) {
|
||||
orderList, err := api.GetByOrderNoForOaos("2108504597000531")
|
||||
orderList, err := api.GetByOrderNoForOaos("2225735125000294")
|
||||
t.Log(utils.Format4Output(orderList, false))
|
||||
if err != nil {
|
||||
t.Fatal(err.Error())
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
package jdapi
|
||||
|
||||
import (
|
||||
"git.rosy.net.cn/baseapi/utils"
|
||||
"testing"
|
||||
)
|
||||
|
||||
//
|
||||
//import (
|
||||
// "testing"
|
||||
@@ -42,14 +47,15 @@ package jdapi
|
||||
// }
|
||||
//}
|
||||
//
|
||||
//func TestGetStoreInfoByStationNo(t *testing.T) {
|
||||
// result, err := api.GetStoreInfoByStationNo2("11946249")
|
||||
// if err != nil {
|
||||
// t.Fatal(err)
|
||||
// }
|
||||
// t.Log(utils.Format4Output(result, false))
|
||||
//
|
||||
//}
|
||||
func TestGetStoreInfoByStationNo(t *testing.T) {
|
||||
result, err := api.GetStoreInfoByStationNo2("12002719")
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(utils.Format4Output(result, false))
|
||||
|
||||
}
|
||||
|
||||
//
|
||||
//func TestUpdateStoreInfo4Open(t *testing.T) {
|
||||
// result, err := api.GetStoreInfoByStationNo2(mustExistStoreID)
|
||||
|
||||
Reference in New Issue
Block a user