Weteach-小程序


商品复制

<p><strong>简要描述:</strong> </p> <ul> <li>商品复制接口</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/adm/commodity/{id}/replicate</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST </li> </ul> <p><strong>参数:</strong> </p> <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;">id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>商品ID</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "result": "success", "data": { "price": 1590, "stock": null, "event_price": 0, "event_start_at": null, "event_end_at": null, "is_distribute": 0, "distribute_bonus": 0, "code": "9aa5fcba8a500922", "name": "爱丽丝漫游奇境记.New", "status": "publish", "poster": "", "pre_sale": 0, "open_redeem_code": 0, "share_title": null, "share_subtitle": null, "share_image": null, "is_groupon": 0, "brief": "", "type": "audio", "created_at": "2018-12-03 10:23:56", "id": 163, "_actionType": "Add", "_type": "Commodity" }, "message": "操作成功", "ct": 1543803836 }</code></pre>

页面列表

ITEM_HTML