添加jdapi.UpdateStoreFreightConfigNew

This commit is contained in:
gazebo
2019-10-14 14:31:45 +08:00
parent 0008ac1c78
commit 8b6fc21c28
2 changed files with 58 additions and 0 deletions

View File

@@ -137,3 +137,17 @@ func TestDisableAutoOrder4AllStores(t *testing.T) {
break
}
}
func TestUpdateStoreFreightConfigNew(t *testing.T) {
err := api.UpdateStoreFreightConfigNew(&UpdateStoreFreightParam{
UserPin: "test",
MerchantStationNo: "2",
OpenDistanceFreight: true,
IsFullFree: true,
StartCharge: 1890,
})
if err != nil {
t.Fatal(err)
}
}