资源一体化-用户端

资源一体化-用户端


创建订单接口√

<p><strong>接口说明 </strong></p> <pre><code>请求接口: /gmall/app/order/create 请求方式: POST 接口说明: 创建订单接口(需登录)</code></pre> <p><strong>请求参数 </strong></p> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>长度</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>mallId</td> <td>是</td> <td>20</td> <td>int</td> <td>商圈id</td> </tr> <tr> <td>poiId</td> <td>否</td> <td>20</td> <td>int</td> <td>自提点id</td> </tr> <tr> <td>poiTime</td> <td>否</td> <td>20</td> <td>int</td> <td>自提时间,提交格式:{&quot;date&quot;:&quot;2020-4-15&quot;,&quot;time&quot;:&quot;9:00-11:00&quot;}</td> </tr> <tr> <td>userRemark</td> <td>否</td> <td>255</td> <td>string</td> <td>买家备注</td> </tr> <tr> <td>couponCode</td> <td>否</td> <td>20</td> <td>string</td> <td>抵扣优惠券编码</td> </tr> </tbody> </table> <p><strong>返回参数</strong></p> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>code</td> <td>string</td> <td>状态值</td> </tr> <tr> <td>msg</td> <td>string</td> <td>返回消息</td> </tr> <tr> <td>data</td> <td>object</td> <td>返回的token</td> </tr> <tr> <td>orderNo</td> <td>string</td> <td>订单编号</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": "0000", "msg":"succcess", "data": { "orderNo":"111" } }</code></pre> <p><strong>接口备注</strong></p> <ul> <li>库存索引键(商品id-属性id:属性值id-属性id:属性值id)默认(商品id-0:0)</li> </ul>

页面列表

ITEM_HTML