- 京东直降限时抢添加添加取消部分商品接口接口
- 京东重构单品促销接口
This commit is contained in:
@@ -11,7 +11,7 @@ func TestCreatePromotionSingle(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(infoId)
|
||||
err = api.CreatePromotionRules(infoId, "", 1, 1, 1, 1)
|
||||
err = api.CreatePromotionRulesSingle(infoId, "", 1, 1, 1, 1)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
@@ -39,7 +39,7 @@ func TestCreatePromotionLimitTime(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
t.Log(infoId)
|
||||
err = api.CreatePromotionRules(infoId, "", 1, 1, 5, 1)
|
||||
err = api.CreatePromotionRulesLimitTime(infoId, "", 1, 1, 5, 1)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user