9. 下单 - littlewhitestore/Moscow GitHub Wiki
/api/order/create/buynow
POST
请求参数
参数名 | 类型 | required | 描述 |
---|---|---|---|
product_id | int | Y | 商品id |
number | int | Y | 购买数量 |
receiver | obj | Y | 收货地址(必填) |
返回结果部分字段解释
参数名 | 类型 | 描述 |
---|
** 示例 **
Response
status_code 错误码说明点这里
{
"status_code": 1,
"timestamp": 1516950480,
"message": "",
"data": {
"mina_payment": {
"package": "prepay_id=wx2018012615080028a975c4de0315025344",
"timeStamp": 1516950480,
"signType": "MD5",
"paySign": "F67ACEBAD9D8E547F8D70DB0ADF09059",
"appId": "wxd4eae843e18ff7da",
"nonceStr": "og73mhso2vy57twtyzxdkywq89llbtq6"
}
"order_id": "123123"
}
}