- 平台活动创建,初步OK
This commit is contained in:
@@ -20,8 +20,8 @@ type ActController struct {
|
||||
// @Param beginAt formData string true "开始日期"
|
||||
// @Param endAt formData string true "结束日期"
|
||||
// @Param pricePercentage formData int true "活动价格比例"
|
||||
// @Param advertising formData string true "广告语"
|
||||
// @Param actStoreSkuList formData string true "活动门店商品信息"
|
||||
// @Param advertising formData string false "广告语"
|
||||
// @Param limitDaily formData int false "是否按日0-不限,>0限购单数(限时抢需填)"
|
||||
// @Param limitUser formData int false "是否用户限购0-不限,1-限购"
|
||||
// @Param limitCount formData int false "限购件数 0-不限,如账号限购、设备限购有一个为1,则限购件数必须大于0的整数"
|
||||
@@ -50,6 +50,7 @@ func (c *ActController) CreateAct() {
|
||||
PricePercentage: params.PricePercentage,
|
||||
BeginAt: timeList[0],
|
||||
EndAt: timeList[1],
|
||||
Advertising: params.Advertising,
|
||||
Remark: params.Remark,
|
||||
}
|
||||
retVal, err = act.CreateAct(params.Ctx, actObj, vendorIDs, nil, actStoreSkuList, params.IsAsync)
|
||||
|
||||
Reference in New Issue
Block a user