Mall

商城接口


新增收藏

<p><strong>简要描述:</strong> </p> <ul> <li>新增收藏</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>/collect.html</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;">zpc_zp_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>文案id</td> </tr> <tr> <td style="text-align: left;">sku</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>收藏的产品</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "code": 500, "msg": "新增失败.", "item": null, "total": 0, "success": false, "failed": false, "page": 1 } { "code": 200, "msg": "success.", "item": null, "total": 0, "success": true, "failed": false, "page": 1 }</code></pre> <p><strong>返回参数说明</strong> </p> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML