ecshop3

ecshop3


获取超时分类

<p>欢迎使用ShowDoc!欢迎使用ShowDoc!</p> <p><strong>简要描述:</strong> </p> <ul> <li>获取超市的二级|三级分类</li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/goods.php</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;">action</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>get_category_market</td> </tr> <tr> <td style="text-align: left;">cat_id</td> <td style="text-align: left;">是</td> <td style="text-align: left;">int</td> <td>分类级别(0:获取二级分类;大于0:获取三级分类)</td> </tr> <tr> <td style="text-align: left;">lang</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>zh_cn:中文;khmer:柬文;en_us:英语</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{     "code": 0,     "msg": "操作成功!",     "data": [          {             "cat_id": "20157",             "pid": "10027",             "name": "食品饮料",             "img": "https://khoimages.ssvv168.com/photoalbum9999999998/1/profile.png"         },         {             "cat_id": "20158",             "pid": "10027",             "name": "家清个护",             "img": "https://khoimages.ssvv168.com/photoalbum9999999998/1/profile.png"         },         {             "cat_id": "20159",             "pid": "10027",             "name": "家具及居家",             "img": "https://khoimages.ssvv168.com/photoalbum9999999998/1/profile.png"         },         {             "cat_id": "20160",             "pid": "10027",             "name": "小家电",             "img": "https://khoimages.ssvv168.com/photoalbum9999999998/1/profile.png"         },         {             "cat_id": "20161",             "pid": "10027",             "name": "母婴",             "img": "https://khoimages.ssvv168.com/photoalbum9999999998/1/profile.png"         }     ] }</code></pre> <p><strong>返回参数说明</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">code</td> <td style="text-align: left;">int</td> <td>0为操作成功,1为操作失败</td> </tr> <tr> <td style="text-align: left;">30062</td> <td style="text-align: left;">int</td> <td>参数丢失</td> </tr> <tr> <td style="text-align: left;">1</td> <td style="text-align: left;">int</td> <td>订单不存在</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul> <p>欢迎使用ShowDoc!</p>

页面列表

ITEM_HTML