+ GetByOrderNoForOaosNew

This commit is contained in:
gazebo
2019-09-05 18:22:28 +08:00
parent cd08000879
commit a464da4476
2 changed files with 23 additions and 2 deletions

View File

@@ -238,7 +238,15 @@ func TestOrderQuery2(t *testing.T) {
}
func TestGetByOrderNoForOaos(t *testing.T) {
orderList, err := api.GetByOrderNoForOaos("921160248000222")
orderList, err := api.GetByOrderNoForOaos("921235438000341")
t.Log(utils.Format4Output(orderList, false))
if err != nil {
t.Fatal(err.Error())
}
}
func TestGetByOrderNoForOaosNew(t *testing.T) {
orderList, err := api.GetByOrderNoForOaosNew("921235438000341")
t.Log(utils.Format4Output(orderList, false))
if err != nil {
t.Fatal(err.Error())
@@ -246,7 +254,7 @@ func TestGetByOrderNoForOaos(t *testing.T) {
}
func TestCheckSelfPickCode(t *testing.T) {
err := api.CheckSelfPickCode("", "921241806000842", "test")
err := api.CheckSelfPickCode("020606", "921235438000341", "test")
if err != nil {
t.Fatal(err.Error())
}