门店-列表

简要描述
  • 门店列表接口
请求URL
  • http://xx.com/gateway/liyuan_device/store/info/list
请求方式
  • POST
参数
参数名 必选 类型 说明
pageNo int 页码
pageSize int 每页个数
storeName string 门店名称
contact string 联系人
phone string 手机号码
merchantId Long 所属客户id
返回示例
 {
    "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": "请求成功"
}
返回参数说明
参数名 类型 说明
id long 主键ID
phone string 创建人手机号码
name string 创建人
contact string 联系人
merchantName string 客户名称
storeName string 门店名称
merchantId long 所属客户
type int 店铺类型 1-平台 2-直营 3-经销商 4-集团
owner int 店长
span int 跨商户换电 1-可跨商户换电 2-不可跨商户换电
cabinetNum int 换电柜总数
batteryNum int 电池总数
userNum int 用户总数
provinceId int 省编号
province int
cityId int 市编号
city int
areaId int 区县编号
area int 区县
address int 详细地址
status int 状态 1-营业 2停业
createTime int 创建时间
createBy int 创建人
updateTime int 更新时间
updateBy int 更新人
备注
  • 更多返回错误代码请看首页的错误代码描述