This commit is contained in:
苏尹岚
2021-03-09 08:54:11 +08:00
parent f0a97f61c7
commit f66222cd30
8 changed files with 129 additions and 11 deletions

View File

@@ -42,7 +42,7 @@ func TestGetStationsByVenderId(t *testing.T) {
}
func TestGetStoreInfoByStationNo(t *testing.T) {
result, err := api.GetStoreInfoByStationNo2("12083436")
result, err := api.GetStoreInfoByStationNo2("11980668")
if err != nil {
t.Fatal(err)
}
@@ -144,11 +144,10 @@ func TestUpdateStoreFreightConfigNew(t *testing.T) {
}
func TestGetDeliveryRangeByStationNo(t *testing.T) {
const testStoreID = "11738048"
const testStoreID = "11980668"
result, err := api.GetDeliveryRangeByStationNo2(testStoreID)
if err != nil {
t.Fatal(err)
}
baseapi.SugarLogger.Debug(utils.Format4Output(result, false))
// fmt.Println("tetet11111111111111111111111111111111", computeSignedArea(strings.Split(result.DeliveryRange, ";")))
}