文档
测试

优惠券添加

POST
/platform/coupon/add

请求参数

参数名
类型
描述
必填
couponDto
object
couponDto
必填
activeDay
integer
可选
activeTime
string
可选
activeTimeFrom
string
可选
activeTimeList
array[string]
可选
activeType
integer
可选
appid
string
可选
appkey
string
可选
cityCode
string
可选
cityName
string
可选
couponDiscountPrice
string
可选
couponFinalPrice
string
可选
couponId
string
可选
couponName
string
可选
couponOrginalPrice
string
可选
discountAmount
string
可选
discountMoneyType
integer
可选
discountWay
integer
可选
enterprise
integer
可选
invalidTime
string
可选
remark
string
可选
sendTime
string
可选
sendType
integer
可选
status
integer
可选
stubGroupId
string
可选
stubGroupList
array[object]
可选
id
string
可选
name
string
可选
stubGroupName
string
可选
thresholdAmount
string
可选
useCondition
integer
可选
useConditionDec
string
可选
useRange
integer
可选
useRangeDec
string
可选
userPhone
string
可选

响应参数

参数名
类型
描述
必填
root
object
OK
必填
code
integer
可选
data
object
可选
msg
string
可选