guigui


云仓用户获取订单(新)

<h5>简要描述</h5> <ul> <li>云仓用户获取订单接口</li> </ul> <h5>请求URL</h5> <ul> <li><code>https://ggtools.thinkerx.com/erp/get_order_new</code></li> </ul> <h5>请求方式</h5> <ul> <li>POST </li> </ul> <h5>参数</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">必选</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">uid</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>用户id</td> </tr> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>页码(默认为1)</td> </tr> <tr> <td style="text-align: left;">limit</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>每页竖锯条数(默认为12,)</td> </tr> <tr> <td style="text-align: left;">status</td> <td style="text-align: left;">否</td> <td style="text-align: left;">int</td> <td>订单状态筛选条件(-1是已失效, 0是待付款, 1是待发货, 2是待收货, 3是已完成(已付清且已收到货), 4是分批次付款,未收到货,还未付清, 5是分批次付款,已收到货,但还未付清)</td> </tr> </tbody> </table> <h5>请求示例</h5> <pre><code>https://ggtools.thinkerx.com/erp/get_order_buyer?uid=17447&amp;page=1&amp;status=0</code></pre> <h5>返回示例</h5> <pre><code>{ "status": 1, "msg": "请求成功", "data": { "order_total": 24, "order": [ { "id": 443, "uid": 10845, "payment_id": 672, "order_no": "1306849162771300352", "address_id": 0, "status": 1, "total_cost": "0.20", "final_cost": "0.10", "create_time": "2020-09-18 14:54:55", "finished_time": "2020-09-18 14:56:19", "address": "修改两次的地址", "name": "hh2o4", "phone": "17780648226", "supplier_name": "美林", "commodity_list": [ { "name": "", "type": "plank", "uid": 4, "supplier_id": 12, "brand_id": 37, "brand_type": "多层板", "s_color_id": 189, "picture": [ { "name": "1", "url": "https://eggrj.oss-cn-hangzhou.aliyuncs.com/cloudPictures/09_15/YzEkreAa6E.png" } ], "detail_value": "", "remark": "", "count": 1, "unit_price": "0.10", "base_price": null, "org_price": null, "vip_price": 0.1, "price": 0.2, "id": 2937 } ] }, { "id": 442, "uid": 10845, "payment_id": 670, "order_no": "1306848311440834560", "address_id": 0, "status": 1, "total_cost": "0.20", "final_cost": "0.10", "create_time": "2020-09-18 14:51:32", "finished_time": "2020-09-18 14:51:53", "address": "修改两次的地址", "name": "hh2o4", "phone": "17780648226", "supplier_name": "美林", "commodity_list": [ { "name": "", "type": "plank", "uid": 4, "supplier_id": 12, "brand_id": 37, "brand_type": "多层板", "s_color_id": 189, "picture": [ { "name": "1", "url": "https://eggrj.oss-cn-hangzhou.aliyuncs.com/cloudPictures/09_15/YzEkreAa6E.png" } ], "detail_value": "", "remark": "", "count": 1, "unit_price": "0.10", "base_price": null, "org_price": null, "vip_price": 0.1, "price": 0.2, "id": 2937 } ] } ] } }</code></pre> <h5>返回参数说明</h5> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">order_total</td> <td style="text-align: left;">int</td> <td>条件下总订单数</td> </tr> <tr> <td style="text-align: left;">order</td> <td style="text-align: left;">list[dict]</td> <td>订单详细信息列表</td> </tr> </tbody> </table> <h5>备注</h5> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML