门店-列表
<h5>简要描述</h5>
<ul>
<li>门店列表接口</li>
</ul>
<h5>请求URL</h5>
<ul>
<li><code>http://xx.com/gateway/liyuan_device/store/info/list</code></li>
</ul>
<h5>请求方式</h5>
<ul>
<li>POST </li>
</ul>
<h5>参数</h5>
<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;">pageNo</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>页码</td>
</tr>
<tr>
<td style="text-align: left;">pageSize</td>
<td style="text-align: left;">是</td>
<td style="text-align: left;">int</td>
<td>每页个数</td>
</tr>
<tr>
<td style="text-align: left;">storeName</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>门店名称</td>
</tr>
<tr>
<td style="text-align: left;">contact</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>联系人</td>
</tr>
<tr>
<td style="text-align: left;">phone</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">string</td>
<td>手机号码</td>
</tr>
<tr>
<td style="text-align: left;">merchantId</td>
<td style="text-align: left;">否</td>
<td style="text-align: left;">Long</td>
<td>所属客户id</td>
</tr>
</tbody>
</table>
<h5>返回示例</h5>
<pre><code> {
"code": 0,
"list": [
{
"address": "北京",
"id": 1,
"latitude": "15.3",
"longitude": "99.8",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "锂源",
"owner": 1,
"phone": "",
"span": 1,
"status": 1,
"storeName": "门店烧烤",
"storePic": "http://123.jpg,http://456.png",
"type": 1
},
{
"address": "12",
"batteryNum": 0,
"cabinetNum": 0,
"createTime": 1638952110093,
"id": 628476607954157568,
"latitude": "212",
"longitude": "121",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "锂源",
"owner": 1,
"phone": "",
"span": 2,
"status": 1,
"storeName": "测测测测测从",
"storePic": "",
"type": 1,
"userNum": 0
},
{
"address": "312321",
"batteryNum": 0,
"cabinetNum": 0,
"contact": "李四",
"createTime": 1638952081974,
"id": 628476490014523392,
"latitude": "312",
"longitude": "312",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "员工1",
"owner": 2,
"phone": "15364087188",
"span": 2,
"status": 1,
"storeName": "12312312312",
"storePic": "",
"type": 1,
"userNum": 0
},
{
"address": "21",
"batteryNum": 0,
"cabinetNum": 0,
"createTime": 1638952051432,
"id": 628476361912090624,
"latitude": "21",
"longitude": "21",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "锂源",
"owner": 1,
"phone": "",
"span": 1,
"status": 1,
"storeName": "测测测测",
"storePic": "",
"type": 1,
"userNum": 0
},
{
"address": "汕头",
"batteryNum": 0,
"cabinetNum": 0,
"createTime": 1638947962031,
"id": 628459209721118720,
"latitude": "12",
"longitude": "12",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "锂源",
"owner": 1,
"phone": "",
"span": 2,
"status": 1,
"storeName": "测测测",
"storePic": "[]",
"type": 1,
"userNum": 0
},
{
"address": "广东省删一条",
"batteryNum": 0,
"cabinetNum": 0,
"createTime": 1638947832654,
"id": 628458667074650112,
"latitude": "33",
"longitude": "33",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "锂源",
"owner": 1,
"phone": "",
"span": 1,
"status": 1,
"storeName": "测试",
"storePic": "[]",
"type": 1,
"userNum": 0
},
{
"address": "北京",
"batteryNum": 1,
"cabinetNum": 1,
"contact": "李四",
"createTime": 1638428084949,
"id": 626278687192383488,
"latitude": "15.3",
"longitude": "99.8",
"merchantId": 626303660510412800,
"merchantName": "七七八八",
"name": "员工1",
"owner": 2,
"phone": "15364087188",
"span": 1,
"status": 1,
"storeName": "门店炸鸡",
"storePic": "http://123.jpg",
"type": 1,
"userNum": 1
},
{
"address": "北京",
"batteryNum": 0,
"cabinetNum": 0,
"contact": "李四",
"createTime": 1638427746142,
"id": 626277266137022464,
"latitude": "15.3",
"longitude": "99.8",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "员工1",
"owner": 2,
"phone": "15364087188",
"span": 1,
"status": 1,
"storeName": "门店炸鸡2",
"storePic": "http://123.jpg",
"type": 1,
"userNum": 0
},
{
"address": "北京",
"batteryNum": 0,
"cabinetNum": 0,
"contact": "李四",
"createTime": 1638427567976,
"id": 626276518842073088,
"latitude": "15.3",
"longitude": "99.8",
"merchantId": 626320515929210880,
"merchantName": "333",
"name": "员工1",
"owner": 2,
"phone": "15364087188",
"span": 1,
"status": 1,
"storeName": "门店炸鸡1",
"storePic": "http://123.jpg",
"type": 1,
"userNum": 0
},
{
"address": "北京",
"batteryNum": 0,
"cabinetNum": 0,
"contact": "李四",
"createTime": 1638415740626,
"id": 626320515929210880,
"latitude": "15.3",
"longitude": "99.8",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "员工1",
"owner": 2,
"phone": "15364087188",
"span": 1,
"status": 1,
"storeName": "小心炸鸡1",
"storePic": "http://123.jpg",
"type": 1,
"userNum": 0
},
{
"address": "北京",
"batteryNum": 0,
"cabinetNum": 0,
"contact": "李四",
"createTime": 1638415379821,
"id": 626225398023192576,
"latitude": "15.3",
"longitude": "99.8",
"merchantId": 1000001,
"merchantName": "客户2",
"name": "员工1",
"owner": 2,
"phone": "15364087188",
"span": 1,
"status": 1,
"storeName": "小新炸鸡11测试",
"storePic": "http://123.jpg",
"type": 1,
"userNum": 0
}
],
"pageTurn": {
"currentPage": 1,
"end": 11,
"firstPage": 1,
"nextPage": 1,
"page": 1,
"pageCount": 1,
"pageSize": 200,
"prevPage": 1,
"rowCount": 11,
"start": 0,
"startIndex": 0
},
"tip": "请求成功"
}</code></pre>
<h5>返回参数说明</h5>
<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;">id</td>
<td style="text-align: left;">long</td>
<td>主键ID</td>
</tr>
<tr>
<td style="text-align: left;">phone</td>
<td style="text-align: left;">string</td>
<td>创建人手机号码</td>
</tr>
<tr>
<td style="text-align: left;">name</td>
<td style="text-align: left;">string</td>
<td>创建人</td>
</tr>
<tr>
<td style="text-align: left;">contact</td>
<td style="text-align: left;">string</td>
<td>联系人</td>
</tr>
<tr>
<td style="text-align: left;">merchantName</td>
<td style="text-align: left;">string</td>
<td>客户名称</td>
</tr>
<tr>
<td style="text-align: left;">storeName</td>
<td style="text-align: left;">string</td>
<td>门店名称</td>
</tr>
<tr>
<td style="text-align: left;">merchantId</td>
<td style="text-align: left;">long</td>
<td>所属客户</td>
</tr>
<tr>
<td style="text-align: left;">type</td>
<td style="text-align: left;">int</td>
<td>店铺类型 1-平台 2-直营 3-经销商 4-集团</td>
</tr>
<tr>
<td style="text-align: left;">owner</td>
<td style="text-align: left;">int</td>
<td>店长</td>
</tr>
<tr>
<td style="text-align: left;">span</td>
<td style="text-align: left;">int</td>
<td>跨商户换电 1-可跨商户换电 2-不可跨商户换电</td>
</tr>
<tr>
<td style="text-align: left;">cabinetNum</td>
<td style="text-align: left;">int</td>
<td>换电柜总数</td>
</tr>
<tr>
<td style="text-align: left;">batteryNum</td>
<td style="text-align: left;">int</td>
<td>电池总数</td>
</tr>
<tr>
<td style="text-align: left;">userNum</td>
<td style="text-align: left;">int</td>
<td>用户总数</td>
</tr>
<tr>
<td style="text-align: left;">provinceId</td>
<td style="text-align: left;">int</td>
<td>省编号</td>
</tr>
<tr>
<td style="text-align: left;">province</td>
<td style="text-align: left;">int</td>
<td>省</td>
</tr>
<tr>
<td style="text-align: left;">cityId</td>
<td style="text-align: left;">int</td>
<td>市编号</td>
</tr>
<tr>
<td style="text-align: left;">city</td>
<td style="text-align: left;">int</td>
<td>市</td>
</tr>
<tr>
<td style="text-align: left;">areaId</td>
<td style="text-align: left;">int</td>
<td>区县编号</td>
</tr>
<tr>
<td style="text-align: left;">area</td>
<td style="text-align: left;">int</td>
<td>区县</td>
</tr>
<tr>
<td style="text-align: left;">address</td>
<td style="text-align: left;">int</td>
<td>详细地址</td>
</tr>
<tr>
<td style="text-align: left;">status</td>
<td style="text-align: left;">int</td>
<td>状态 1-营业 2停业</td>
</tr>
<tr>
<td style="text-align: left;">createTime</td>
<td style="text-align: left;">int</td>
<td>创建时间</td>
</tr>
<tr>
<td style="text-align: left;">createBy</td>
<td style="text-align: left;">int</td>
<td>创建人</td>
</tr>
<tr>
<td style="text-align: left;">updateTime</td>
<td style="text-align: left;">int</td>
<td>更新时间</td>
</tr>
<tr>
<td style="text-align: left;">updateBy</td>
<td style="text-align: left;">int</td>
<td>更新人</td>
</tr>
</tbody>
</table>
<h5>备注</h5>
<ul>
<li>更多返回错误代码请看首页的错误代码描述</li>
</ul>