新增/修改满减满折满赠活动
POST
/zklystorenew/fullReductionController/insFullReduction
接口描述
{ "fName":"满减活动002", "fUserType":1, "fStartTime":"2021-11-03", "fStopTime":"2021-11-05", "mId":"123", "mcIds":[1,2,3], "pIds":[1,2,3], "fullTypes":[{ "ftId":1, "checkedType":1, "fCommodityScope":2 },{ "ftId":2, "checkedType":1, "fCommodityScope":2 }], "fullReductionLadderList":[{ "fId":1, "fDoorsill":999.0, "flType":1, "flDiscounts":50.0, "flShipping":1, "flLadder":1 }] }
请求参数
参数名
类型
描述
必填
fId
int
示例:1 新增不带,修改时必带
必填
fName
string
示例:满减活动001 活动名
必填
fUserType
int
示例: 1全部用户 2 指定用户
必填
fStartTime
string
示例:2021-11-03 开始时间
必填
fStopTime
string
示例:2021-11-05 结束时间
必填
mId
string
示例:123 商户id
必填
flId
int
示例:1 新增不带,修改时必带 修改时新增不带
必填
fId
int
示例:1 活动id 新增时候不带 修改时带上
必填
fDoorsill
int
示例:999 门槛(满多少元)
必填
flType
int
示例:1 优惠方式 1 按金额 2 按折扣 3 赠送商品/券
必填
flDiscounts
int
示例:50 对应优惠方式、金额 、折扣、
必填
flShipping
int
示例:1 1. 免邮费 2 需要邮费
必填
flLadder
int
示例:1 阶梯级别 最多五级
必填
mcIds
array
会员id集合(修改时不带)
必填
pIds
array
产品id集合(修改时不带)
必填
ftId
int
示例:1 范围id 1 商品 2 服务
必填
checkedType
int
示例:1 选中状态
必填
fCommodityScope
int
示例:2 1 全部商品 2 指定商品
必填
delflld
array
删除的id
必填