## 商品兌換
~~~[api]
post:/api/points_mall/ordersAdd
*int:goods_id#商品ID
*string:name#姓名
*int:phone#聯系電話
*string:address#收貨地址
<<<
success
{
"code": 1,
"msg": "恭喜購買成功,10個工作日后商品郵寄到位,如果沒有郵寄到,請聯系電話010-1234567",
"toast": "alert"
}
<<<
error
{
"code": 0,
"msg": "聯系電話格式不符"
}
~~~
### 字段列表
| 字段名 | 描述 |
|---|---|
| id | 商品ID |
| title | 商品名稱 |
| thumb | 商品圖片 |
| stock | 商品庫存(剩余可兌換數量) |
| points | 商品積分價格(兌換商品所需的積分數) |
| start_time | 開始兌換時間(時:分:秒) |
| auto_status | 商品狀態:1=正常兌換,8=無貨,9=未到兌換時間 |