This commit is contained in:
苏尹岚
2021-03-09 18:03:31 +08:00
parent ae08a80cd4
commit 32a2c0498b
7 changed files with 50 additions and 6 deletions

View File

@@ -45,6 +45,13 @@ const (
SettingTypeAsPrice = 1 // 按折扣价格开展活动s
)
var (
ActTypeList = []int{
1, //-门店商品类+集合类活动,
2, //-劵类(支持返回的券活动:商家券/活动商家券/商品券/活动商品券/配送券/活动配送券/商品配送券/活动商品配送券)
}
)
type FullDiscountActInfo struct {
ActIDs string `json:"act_ids"`
ActName string `json:"act_name"`

View File

@@ -114,7 +114,7 @@ func TestParseErr4RetailDiscountDelete(t *testing.T) {
}
func TestGetByAppPoiCodeAndType(t *testing.T) {
result, err := api.GetByAppPoiCodeAndType("9375120", 1, 1)
result, err := api.GetByAppPoiCodeAndType("10305601", 1, 1)
if err != nil {
t.Fatal(err)
}