...
|
...
|
@@ -822,4 +822,47 @@ code为200即为成功,否则是失败。 |
|
|
"md5": "3c89d2af5917a0f12070df8281b39fe8",
|
|
|
"message": "payment data."
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
|
|
```
|
|
|
|
|
|
|
|
|
## 8、购物车提交接口 ##
|
|
|
#### 说明
|
|
|
购物车提交订单(app.Shopping.submit)
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|uid|int|否|3236556|0|用户id|
|
|
|
|cart_type|string|是|ordinary|ordinary|购物车类型|
|
|
|
|address_id|int|否|5816006||送货地址id|
|
|
|
|delivery_time|int|否|2||寄送时间类型|
|
|
|
|delivery_way|int|否|1||发货方式(1:普通,2顺丰)|
|
|
|
|invoices_title|string|是|""|""|发票抬头|
|
|
|
|invoices_type_id|int|是|""|""|发票类型|
|
|
|
|payment_id|int|否|15||支付id|
|
|
|
|payment_type|int|否|1||支付类型|
|
|
|
|remark|string|是|""|""|备注|
|
|
|
|coupon_code|string|是|""|""|优惠券码|
|
|
|
|product_sku_list|string|否|""|""|立即购买,优先|
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"create_time": "2016-07-14 15:57:48",
|
|
|
"order_amount": 1965,
|
|
|
"order_code": 1613291832,
|
|
|
"pay_expire": "2016-07-14 17:57:48",
|
|
|
"payment_status": 0
|
|
|
},
|
|
|
"md5": "62723a6f81151e880b04a8480df4d2f9",
|
|
|
"message": "submit order ."
|
|
|
}
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
|
...
|
...
|
|