文档
测试

兑换商品

POST
http://localhost:8070/v1.0/api/user/exchange

请求头

参数名
类型
描述
必填
token
string
示例:dafjc0Gq7c4cdb/0ZhcQUU6suU7Whp/KrYKYozvSJVpX3yWW+PdetO7wzy1Yn3taH/iDXpq1ZAx2Lh1YEtTIR+5R8xVrLOl3PgO/aJV5kKE=
必填
deviceNumber
string
示例:FBE43030-E32C-412B-9446-3FC8C2545AFF
可选

请求参数

参数名
类型
描述
必填
type
int
示例:1 (类型 1:小组件2:形象装扮 3:场景
必填
productId
int
示例:1 (商品id
必填
userId
int
示例:8 (用户id
必填
userColor
string
(颜色
必填
userTransparency
int
(透明度
必填

响应参数

参数名
类型
描述
必填
code
int
示例:200
必填
data
object
数据字典
必填
id
int
示例:1812015
必填
productId
int
示例:1 (商品id
必填
userId
int
示例:8 (用户id
必填
createTime
string
示例:2022-06-21 18:34:37 (创建时间
必填
type
int
示例:1 (类型 2:形象装扮 3:场景
必填
status
int
示例:1 (状态 0:无效 1:有效
必填
comeFrom
int
示例:0 (获得方式 0:为购买 1位抽奖
必填
isSetting
int
示例:0 (是否设置1为设置 0为未设置
必填
isVip
int
示例:0 (是否为vip购买 0为非vip 1为vip
必填
widget
object
示例:null (小组件
必填
clothes
object
示例:null (:形象装扮
必填
scene
object
示例:null (场景
必填
message
string
示例:操作成功
必填