## 下訂單
~~~[api]
post:/online/Orderctr/placeOrder?framework=api
*openid=默認值#微信openid
*groupid#項目id
*cartidList=1|2,5#購物車id(多個用,分割)
*siteid#配送站點id
*recivename#收貨人姓名
*recivephone#收貨人手機號
<<<
success
{
"code": 0,
"msg": "下單成功",
"data": {
"serialnum": "920200304135634695",
"orderid": "3955",
"total_fee": "10.00",
"lists": [
{
"num": "1",
"goodsid": "14",
"title": "朱仙鎮五香豆腐干",
"unitname": "份",
"description": "",
"marketprice": "10.00",
"storeid": "4758"
}
]
}
}
<<<
error
{
"code": -1,
"msg": "",
"data": []
}
~~~
---
**返回信息**
| 參數 | 參數類型 | 必須 | 說明|
| ----------- | ------------------------------ | ------------ | --- |
| orderid| string| yes |訂單id|
| serialnum| String| yes | 訂單編號|
| total_fee| String| yes | 訂單總金額|
| title| String| yes | 商品名|
| unitname| String| yes | 單位|
| marketprice| String| yes | 商品單價|
| num| String| yes | 商品數量|