资源一体化-用户端

资源一体化-用户端


获取商品信息

<p><strong>接口说明 </strong></p> <pre><code>请求接口: /ivm/app/product/info 请求方式: GET 接口说明: 获取商品信息</code></pre> <p><strong>请求参数 </strong></p> <table> <thead> <tr> <th>参数名</th> <th>必选</th> <th>长度</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>qrCode</td> <td>是</td> <td>string</td> <td>64</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>productName</td> <td>string</td> <td>商品名</td> </tr> <tr> <td>picUrl</td> <td>string</td> <td>图片地址</td> </tr> <tr> <td>stockNum</td> <td>int</td> <td>库存</td> </tr> <tr> <td>price</td> <td>decimal</td> <td>现价,元</td> </tr> <tr> <td>originPrice</td> <td>decimal</td> <td>原价</td> </tr> <tr> <td>qrCode</td> <td>string</td> <td>二维码值</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": "0000", "msg": "操作成功!", "data": { "productName": "闪易商品", "picUrl": "www.123.com/abc.jpg", "stockNum": 1, "price": 2.3, "originPrice": 2.3, "qrCode": "00000aee67cecba1012673a1d0" } }</code></pre> <p><strong>接口备注</strong></p>

页面列表

ITEM_HTML