##订单接收
~~~[api]
post:http://bg.x.com/haodian/getorder
*请求参数json#json数据
<<<
success
{
"code":2000,
"msg":"success",
}
<<<
error
{
"code": 4000,
"msg": "失败原因",
}
~~~
#### 说明
1. 请求参数如下所示:
订单支付金额 = 商品总值+税费+运费 - 优惠
{
"data": {
"order_num": "1001",//订单号
"order_amount": "120.00",//支付金额
"goods_amount": "100.00",//商品总值(商品单价*数量 的累加和)
"tax": "10.00",//总税费
"promotion": "10.00",//优惠金额
"logistics_money": "10.00",//运费
"buyer_name": "刘德华",//购买人姓名
"buyer_card": "41000000000000000",//购买人身份证号
"accept_name": "李四",//收货人
"accept_mobile": "1358888888",//收货人电话
"province": "河南省",//收货地址省
"city": "郑州市",//收货地址市
"area": "高新区",//收货地址区
"accept_address": "帝王大厦2002",//具体地址不包含省市区
"mark": "备注",
"order_time":"2020-05-02 14:32:12"//下单时间
"goods_list": [{
"sku": "9000001",//条码货号
"goods_name": "商品1",//商品名
"quantity": 1,//数量
"price": "50.00"//单价
}, {
"sku": "90000012",
"goods_name": "商品2",
"quantity": 2,
"price": "25.00"
}]
},
"sign": "C5FFF9309DDC0C633F8D8ACDCDD4EDA4"
}