1.1. 根据门店ID查询门店详情

根据门店ID查询门店详情

1.1.1. 请求方法

POST /store/:id

1.1.2. 请求参数

参数名 必填 类型 说明
id Long 门店主键id,见store-01_list接口返回

1.1.3. 返回数据

属性名 类型 说明
code 整型 执行结果码,200表示成功,其他表示错误
message 字符串 执行结果说明
data 对象 对象数组,每个元素详见上自定义data数据表

data(门店详情)

参数名 类型 说明
id Long 自增主键
name String 门店名称
storeCode String 门店编码
logo String 门店logo
contactPhone String 门店联系电话
address String 门店地址
codeUrl String 活码URL
tagAddIds List 部门标签Id
addressOrigin Object 门店具体地址
-regionIds List 省市区Id,省市区级联组件通用码值
-detailAddr String 具体地址
-searchCity String 所在城市
location Object 经纬度
-longitude Double 经度
-latitude Double 维度
partyTree Object 门店关联成员
-users List 门店关联员工
--id String 员工id
--name String 员工名称
-partys List 门店关联部门
--id Long 部门id
--name String 部门名称
externalGroups List 关联群
-id Long 群主键id
-chatId String 群聊Id
-name String 群名称
-number Integer 群聊人数
-externalNumber Integer 外部客户人数
-ownerId String 群主员工Id
-unKnow Integer 外部群聊标识 1代表外部群
welcomeMessage Object 欢迎语
-text Object 文本消息结构体
--content String 消息文本内容,最多4000个字节
-attachments List 图片消息结构体,暂未对接营销素材,该参数暂时不开放使用

1.1.4. 请求示例

curl --location --request GET 'https://[子域名].wefeng360.com/api/v1/store/162?sign=fbdd2e45e3bd9d1f1e4915863cff62c2d6f901490070741b821ad55d7e231552&timestamp=1619143576' --header 'Content-Type: application/json'

1.1.5. 返回示例

{
    "succeed": true,
    "code": 200,
    "bizCode": "000000",
    "message": "OK",
    "visible": false,
    "data": {
        "id": 162,
        "name": "兰博基尼一号店",
        "logo": "ecology/store-logo/2022-02-09/1/20220209/j6S2HQEjQ3/XX.png",
        "contactPhone": "13111111111",
        "address": "湖北省武汉市武昌区政通壹公馆(建设中)",
        "addressOrigin": {
            "regionIds": [
                "42",
                "4201",
                "420106"
            ],
            "detailAddr": "政通壹公馆(建设中)",
            "searchCity": "武汉市"
        },
        "remark": null,
        "createUserName": "管理员",
        "createTime": "2021-07-16 13:54:01",
        "updateUserName": null,
        "updateTime": "2022-02-09 10:49:30",
        "location": {
            "longitude": 114.314914,
            "latitude": 30.53382
        },
        "externalGroups": [
            {
                "id": 7,
                "chatId": "wr_3b_EAAARgQws4FVJlQEs052KNKs0A",
                "name": "未命名群聊",
                "number": 3,
                "externalNumber": 1,
                "innerNumber": null,
                "unknownExternalNumber": null,
                "ownerId": "DaYu",
                "ownerName": null,
                "newTime": "2020-08-06 11:51:46",
                "lastChatTime": null,
                "status": 0,
                "groupTag": null,
                "createTime": "2020-08-25 11:29:11",
                "updateTime": "2022-02-07 12:36:40",
                "notice": null,
                "customField": null,
                "managerUserIdList": null,
                "managers": null,
                "todayIncreased": null,
                "todayLeft": null,
                "todayActive": null,
                "groupActive": null,
                "unKnow": 2,
                "stores": null,
                "activeRate": null,
                "office01Name": null,
                "office02Name": null,
                "office03Name": null,
                "office04Name": null,
                "office05Name": null,
                "office06Name": null,
                "office07Name": null,
                "myGroup": false,
                "customerServiceTurn": null,
                "sales": null,
                "orderNum": null,
                "avgSales": null
            }
        ],
        "userIds": [
            "zhoujian",
            "EDC16",
            "zhangchaozhen",
            "DaYu",
            "zhaolei",
            "wangqingyu"
        ],
        "codeUrl": "https://wework.qpic.cn/wwpic/916263_Wj7VtFIjRvGjRSH_1626414842/0",
        "configId": "c2e6f33cca6b9349668b6fa35077537f",
        "welcomeMessage": {
            "text": {
                "content": "欢迎语"
            },
            "attachments": [
                {
                    "msgType": "image",
                    "image": {
                        "imageId": 735,
                        "materialUrl": null,
                        "mediaId": null,
                        "name": "xuehua02.jpg",
                        "pic_url": "ecology/material/2022-01-26/1/20220126/jHMKBYJkfF/xuehua02.jpg"
                    },
                    "link": null,
                    "luckdraw": null,
                    "miniprogram": null,
                    "video": null,
                    "file": null,
                    "graphic": null,
                    "brochure": null,
                    "form": null
                },
                {
                    "msgType": null,
                    "image": null,
                    "link": {
                        "title": "网页链接02",
                        "picUrlId": null,
                        "desc": null,
                        "url": "https://e1.cem.tryudesk.com/wfsite/material-management/company-folder",
                        "imgUrl": null,
                        "id": 733
                    },
                    "luckdraw": null,
                    "miniprogram": null,
                    "video": null,
                    "file": null,
                    "graphic": null,
                    "brochure": null,
                    "form": null
                },
                {
                    "msgType": "miniprogram",
                    "image": null,
                    "link": null,
                    "luckdraw": null,
                    "miniprogram": {
                        "title": "5.5优惠券",
                        "picMediaId": 620,
                        "coverImage": "ecology/material/2021-11-26/1/20211126/a6syzRn4BY/u=1316196726,1410188916&fm=26&gp=0.jpg",
                        "page": "pages/Coupon/CouponIndex/CouponIndex.html?batchCode=16022906",
                        "appid": "wxaf3dbcb41b09f6e5"
                    },
                    "video": null,
                    "file": null,
                    "graphic": null,
                    "brochure": null,
                    "form": null
                },
                {
                    "msgType": "video",
                    "image": null,
                    "link": null,
                    "luckdraw": null,
                    "miniprogram": null,
                    "video": {
                        "name": "不开雷达",
                        "uri": "ecology/material/2022-01-14/1/20220114/p6WcSJ4Sbc/VID_20211224_205853.mp4",
                        "videoId": 693,
                        "coverImage": "ecology/material/2022-01-14/1/20220114/izbiPRWx8d/1e30e924b899a901d52617a516950a7b0208f516.jpg",
                        "mediaId": null
                    },
                    "file": null,
                    "graphic": null,
                    "brochure": null,
                    "form": null
                },
                {
                    "msgType": "file",
                    "image": null,
                    "link": null,
                    "luckdraw": null,
                    "miniprogram": null,
                    "video": null,
                    "file": {
                        "name": "8c4c489d1e671b46c4734fb0ae4b3a2b.mp4",
                        "uri": "ecology/material/2022-01-14/1/20220114/jwdxewAb6X/8c4c489d1e671b46c4734fb0ae4b3a2b.mp4",
                        "fileId": 694,
                        "mediaId": null
                    },
                    "graphic": null,
                    "brochure": null,
                    "form": null
                }
            ]
        },
        "tagAddIds": [
            "et_3b_EAAASUg5wuAyibXxIvJhu3iZZg",
            "et_3b_EAAAq2F_mBn1bL-rleurN2pPuQ",
            "et_3b_EAAAaXzbDki2Pzkc19wn89Hacw"
        ],
        "state": "store_mJWc6ElX3PRFjnvkfHJnfUm5",
        "storeCode": "lamborghini001",
        "partyTree": {
            "users": [
                {
                    "id": "zhoujielun",
                    "name": "周杰伦",
                    "nameWithParty": null
                }
            ],
            "partys": [
                {
                    "id": 958,
                    "name": "会话"
                }
            ]
        }
    }
}

results matching ""

    No results matching ""