ecshop3

ecshop3


所有店铺列表

<p><strong>简要描述:</strong> </p> <ul> <li>所有店铺列表接口:首页店铺列表点击more进入 <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/93ad27adfa0363326669a1f5355c54a1" alt="" /></li> </ul> <p><strong>请求URL:</strong> </p> <ul> <li><code>http://xx.com/api/user.php</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>POST || GET</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>&quot;all_store&quot;</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> <tr> <td style="text-align: left;">keyword</td> <td style="text-align: left;">否</td> <td style="text-align: left;">string</td> <td>搜索关键字</td> </tr> <tr> <td style="text-align: left;">page_no</td> <td style="text-align: left;">是</td> <td style="text-align: left;">string</td> <td>&quot;需要获取数据的页数&quot;</td> </tr> <tr> <td style="text-align: left;">pagenum</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": 0, "msg": "操作成功!", "data": { "my_store": [//我的关注店铺 { "id": "83", "userid": "172", "supplierid": "0",//店铺id "addtime": "1615624729", "supplier_name": "Zipomall",//店铺名称 "shop_logo": "http://47.112.103.239:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png"//店铺logo }, { "id": "82", "userid": "172", "supplierid": "7", "addtime": "1615620083", "supplier_name": "毛毛虫店铺", "shop_logo": "http://47.112.103.239:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png" } ], "all_store": [//所有店铺 { "supplier_name": "毛毛虫店铺",//店铺名称 "type": "Store",//店铺类型 "onsale_number": "39", "supplier_id": "7",//店铺id "shop_logo": "http://47.112.103.239:8083//mobile/themesmobile/mo_paleng_moban/images/mine/account_default.png",//店铺logo "goods_img": [//商品图片 "https://images.zipomall.com/img/Jewelry_Watches/Fine_Jewelry/JF00032/CP_CN/main400/JF00032_21.jpg", "https://images.zipomall.com/img/Automobiles_Motorcycles/Automobiles_Motorcycles_Accessories/AX00007/CP_CN/main400/AX00007_16.jpg", "https://images.zipomall.com/img/Luggage_Bags_Shoes/Women_flats/ZT00027/CP_CN/main400/ZT00027_22.jpg", "https://images.zipomall.com/img/Computer_Office/Computer_Peripherals/OP00023/CP_CN/main400/OP00023_01.jpg" ], "supplier_status": "video",//类型:video(发布视频);onsale(发布商品);default:默认 "supplier_desc": "1 videos released",//店铺动态 "is_guanzhu": "1"//是否关注 } ] } } </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:成功,非0:失败</td> </tr> <tr> <td style="text-align: left;">msg</td> <td style="text-align: left;">int</td> <td>错误信息</td> </tr> <tr> <td style="text-align: left;">data</td> <td style="text-align: left;">数组</td> <td>返回数据</td> </tr> </tbody> </table> <p><strong>备注</strong> </p> <ul> <li>更多返回错误代码请看首页的错误代码描述</li> </ul>

页面列表

ITEM_HTML