七、创建兑换订单
GET
{{development}}/v1/integral/createExchange?sid=1&addressId=3
请求头
参数名
类型
描述
必填
authorization
string
示例:{{token}}
必填
请求参数
参数名
类型
描述
必填
sid
int
商品id,示例:1
必填
addressId
int
收获地址,地址示例:3
必填
extrajson
String
订单备注说明
可选
响应参数
参数名
类型
描述
必填
success
boolean
示例:true
必填
msg
string
示例:创建成功
必填
orderByClause
object
示例:null
必填
distinct
boolean
示例:false
必填
oredCriteria
array
数据列表
必填
id
int
示例:7
必填
userId
string
示例:1B3vZBbvTQ
必填
storeId
int
示例:1
必填
addressId
int
示例:3
必填
orderSn
string
示例:FD3577CFE90D4223976817AE8CA4AE69
必填
orderStatus
int
订单状态,示例:1 1未支付,2待发货,3已发货,4已完成
必填
payStatus
int
支付状态,示例:2 1未付款,2已付款
必填
orderIntegral
int
订单积分,示例:100000
必填
integral
object
实付积分,示例:null
必填
createTime
int
创建时间,示例:1640261907076
必填
payTime
object
支付时间,示例:null
必填
extrajson
object
订单备注,示例:null
必填
updateTime
object
示例:null
必填
id
int
示例:3
必填
userId
string
示例:1B3vZBbvTQ
必填
username
string
示例:杨涛2
必填
userphone
string
示例:17791961563
必填
province
string
示例:陕西
必填
city
string
示例:西安
必填
address
string
示例:云南热带森林
必填
isDefault
int
示例:1
必填
status
int
示例:1
必填
createTime
int
示例:1640261353000
必填
updateTime
object
示例:null
必填
code
int
示例:200
必填