文档
测试

商城类商品下单

POST
http://wjym.didizy.com/v1/goShopPlaceOrder

请求头

参数名
类型
描述
必填
token
string
示例:448cd451bebddcd67c0e8fcb9d82b4aa
必填

请求参数

参数名
类型
描述
必填
order[pStatus][0][goods_id]
int
示例:17
必填
order[pStatus][0][goods_name]
string
示例:aaa
必填
order[pStatus][0][goods_num]
int
示例:1
必填
order[pStatus][0][attr_id]
int
示例:1
必填
order[pStatus][0][goods_price]
float
示例:1.62
必填
order[pStatus][0][goods_image]
string
示例:aaaaaaaaaaaaaaaaaaaaa
必填
order[snapAddress]
string
示例:{"id":2,"username":"\u5b50\u5cf0","telphone":"15000000000","provice":"\u6d59\u6c5f","address":"\u5b81\u6ce2\u9547\u6d77\u533a","is_default":1,"status":0,"uid":1,"createtime":"2020-04-30 18:00:00"}
必填
order[orderType]
int
示例:1
必填
order[remark]
string
示例:试试
必填
order[orderPrice]
float
示例:1.62
必填
order[realPrice]
float
示例:1.62
必填
order[shopping_price]
float
示例:1.62
必填
order[coupon_id]
int
优惠券id 1
必填

响应参数

参数名
类型
描述
必填
errorCode
int
示例:1000
必填
msg
string
示例:新增订单成功
必填
rows
object
数据字典
必填
order_no
string
示例:AA27703881532221
必填
order_id
string
示例:54
必填
create_time
string
示例:2020-10-27 11:46:28
必填