文档
测试

3、根据品牌ID获取品牌详情

POST
/admin/redeem/brand/getBrandDetail

请求头

参数名
类型
描述
必填
token
string
用户token
必填

请求参数

参数名
类型
描述
必填
id
int
品牌ID
必填

响应参数

参数名
类型
描述
必填
data
必填
brand_detail
必填
id
int
品牌id
必填
logo
string
品牌logo
必填
brand_name
string
品牌名称
必填
contact_person
string
品牌联系人
必填
phone
int
联系电话
必填
created_at
string
创建时间
必填
brand_shop_count
int
分店总数
必填
shop_integral_sum
int
品牌总积分
必填
brand_shop_list
必填
id
int
分店ID
必填
brand_id
int
品牌id
必填
shop_name
string
分店名称
必填
shop_address
string
分店地址
必填
shop_integral
int
分店积分
必填
created_at
string
新增分店时间
必填

说明 / 示例

```json { "code": 1, "msg": "success", "data": { "brand_detail": { "id": 1, "logo": "https://api.hisport.cloud/wx_sources/default_user.png", "brand_name": "高新园羽毛球馆", "contact_person": "张三", "phone": "15112692950", "created_at": "2021-09-15T06:33:26.000000Z", "brand_shop_count": 2, "shop_integral_sum": 305 }, "brand_shop_list": [ { "id": 1, "brand_id": 1, "shop_name": "高新园1店", "shop_address": "高新园超多维科技大厦1楼", "shop_integral": "100", "created_at": "2021-09-15T06:58:34.000000Z" }, { "id": 2, "brand_id": 1, "shop_name": "高新园2店", "shop_address": "高新园超多维科技大厦2楼", "shop_integral": "205", "created_at": "2021-09-15T06:59:19.000000Z" } ] } } ```