资源一体化-用户端

资源一体化-用户端


人机订单详情

<h2>根据id获取订单详情</h2> <pre><code>url: /admin/ivm/order/info 请求方式: GET 说明: 需登录 根据id获取订单详情</code></pre> <p>入参参数说明:</p> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>orderNo</td> <td>是</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> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": "0000", "msg": "操作成功!", "data": { { "code": "0000", "msg": "操作成功!", "data": { "orderId": 2, "orderNo": "2222", "NoDiscountAmount": 0.01, "orderTime": "2019-12-11 10:37:07", "payTimeout": "2019-12-11 10:38:07", "payDiscount": 0.01, "payAmount": 0, "ivmCode": "123", "couponCode": null, "couponName": null, "payMethod": 1, "payTime": "2019-12-11 10:37:07", "payCenterNo": null, "payTradeNo": null, "orderMobile": "13967119967", "userCenterId": "6541321", "status": 10, "items": [ { "productId": 4, "productCode": "69726981", "qrCode": "qrcode", "productName": "驱蚊宝", "price": 0, "quantity": 1, "totalPrice": 0 } ] } } } }</code></pre> <table> <thead> <tr> <th>参数名</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>orderId</td> <td>long</td> <td>订单id</td> </tr> <tr> <td>orderNo</td> <td>string</td> <td>订单编号</td> </tr> <tr> <td>noDiscountAmount</td> <td>bigdecimal</td> <td>未优惠前的金额(页面上的订单金额)(元)</td> </tr> <tr> <td>orderTime</td> <td>data</td> <td>创建时间</td> </tr> <tr> <td>payTimeout</td> <td>data</td> <td>支付时限</td> </tr> <tr> <td>payDiscount</td> <td>bigdecimal</td> <td>优惠金额(元)</td> </tr> <tr> <td>payableAmount</td> <td>bigdecimal</td> <td>应付金额(元)</td> </tr> <tr> <td>payAmount</td> <td>bigdecimal</td> <td>支付金额(元)</td> </tr> <tr> <td>ivmCode</td> <td>string</td> <td>设备号</td> </tr> <tr> <td>couponCode</td> <td>string</td> <td>优惠券编号</td> </tr> <tr> <td>couponName</td> <td>string</td> <td>优惠券名</td> </tr> <tr> <td>ivmCode</td> <td>string</td> <td>设备号</td> </tr> <tr> <td>payMethod</td> <td>int</td> <td>支付方式。支付宝 = 1,微信支付 = 3</td> </tr> <tr> <td>payTime</td> <td>data</td> <td>支付时间</td> </tr> <tr> <td>payCenterNo</td> <td>string</td> <td>支付流水号</td> </tr> <tr> <td>payTradeNo</td> <td>string</td> <td>支付凭证号</td> </tr> <tr> <td>orderMobile</td> <td>string</td> <td>下单人手机号</td> </tr> <tr> <td>userCenterId</td> <td>string</td> <td>用户中心id</td> </tr> <tr> <td>status</td> <td>int</td> <td>状态:10:待付款;20:已付款;30:已发货;70:已完成;500:已取消(已关闭);110:已退款;</td> </tr> <tr> <td>items</td> <td>list<object></td> <td>订单明细列表</td> </tr> <tr> <td>productId</td> <td>long</td> <td>商品id</td> </tr> <tr> <td>productCode</td> <td>string</td> <td>商品编号</td> </tr> <tr> <td>qrCode</td> <td>string</td> <td>二维码</td> </tr> <tr> <td>productName</td> <td>string</td> <td>驱蚊宝</td> </tr> <tr> <td>price</td> <td>bigdecimal</td> <td>单价(元)</td> </tr> <tr> <td>quantity</td> <td>int</td> <td>数量</td> </tr> <tr> <td>totalPrice</td> <td>bigdecimal</td> <td>总价(元)</td> </tr> </tbody> </table>

页面列表

ITEM_HTML