This commit is contained in:
苏尹岚
2021-02-08 11:45:00 +08:00
parent a376ce1e48
commit 9c2c0930fd
11 changed files with 67 additions and 22 deletions

View File

@@ -13,13 +13,25 @@ const (
)
func TestGetStationInfoList(t *testing.T) {
result, err := api.GetStationInfoList(mustExistStoreID, []int64{mustExistSkuID})
result, err := api.GetStationInfoList("12005640", []int64{2023434101})
if err != nil {
t.Fatal(err)
}
t.Log(utils.Format4Output(result, false))
}
func TestDelVipPrice(t *testing.T) {
err := api.DelVipPrice("667281", []*SkuIdEntity{
&SkuIdEntity{
OutSkuId: "26074",
},
}, "")
if err != nil {
t.Fatal(err)
}
// t.Log(utils.Format4Output(result, false))
}
func TestQueryOpenUseable(t *testing.T) {
result, err := api.QueryOpenUseable([]*BaseStockCenterRequest{
&BaseStockCenterRequest{