文档
测试

领取优惠券-首冲-新手

POST
http://192.168.1.109:9081/v1.5.9/api/coupon/add

请求头

参数名
类型
描述
必填
channel
string
示例:hqf
必填
versionCode
int
示例:20230411
必填
token
string
示例:dT29YQW6UT+75z3UGTCSYZzXocNoAEjhYDFGNNcBxtGlW1BQRE1BKyJc/4tW91ojHKiDYqutVpvdkmBjZbCxuRr3vhCvXmYv+3gks2JyESI=
必填
platform
int
示例:1
必填

请求参数

参数名
类型
描述
必填
type
int
示例:1
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
array
数据列表
必填
id
int
示例:1
必填
title
string
示例:满50减50
必填
detail
string
示例:有效期三天
必填
type
int
示例:1
必填
typeDesc
string
示例:新人优惠券
必填
discountPrice
int
示例:50
必填
minPrice
int
示例:50
必填
platform
int
示例:1
必填
createTime
object
示例:null
必填
status
int
示例:1
必填
validTime
int
示例:259200
必填
goodsId
object
示例:null
必填
iosCommodityId
object
示例:null
必填
message
string
示例:操作成功
必填