文档
测试

获取单个门店信息

POST
http://xhf.qmbzch.cn/api/store/get_store

请求参数

参数名
类型
描述
必填
store_id
int
示例:2
必填

响应参数

参数名
类型
描述
必填
state
string
示例:fail
必填
message
string
示例:查询成功
必填
store
object
数据字典
必填
id
int
示例:2
必填
name
string
示例:门店昵称
必填
customer_id
int
示例:1
必填
address
string
示例:罗先生
必填
distribution_area_group_id
int
示例:0
必填
contacts
string
示例:罗先生
必填
tel
string
示例:15708482822
必填
remarks
string
示例:备注信息测试
必填
state
int
示例:1
必填
distribution_area_group
array
数据列表
必填

说明 / 示例

{ "state": "fail", "message": "查询成功", "store": { "storeId": 1,//门店id "storeName": "门店1",//门店名称 "customerId": 1,//所属公司id "address": "成都*****1楼1号",//地址 "distributionAreaGroupId": 1,//配送分组id "contacts": "王先生",//联系人 "tel": "13689650044",//联系电话 "remarks": "备注", “account_number”:“1246”//门店登录账号 "state": 1//状态 1启用 0停用 }, "distribution_area_group": [//所有的配送分组信息 { "distributionAreaGroupId": 1,//该分组的id "name": "片区1分组1" } ] }