店铺服务(shop)-店铺关注
关注的店铺列表(V0.8)
基本信息
Path: /shop/storefollow/storeList
Method: POST
接口描述:
请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 | ||
Body |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
keywords | string | 非必须 | 关键字 | ||
pageno | integer | 必须 | 页数 | ||
pagesize | integer | 必须 | 记录数 |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
msg | string | 必须 | 响应信息 | ||
code | integer | 必须 | 响应状态码 | format: int32 | |
data | object [] | 非必须 | item 类型: object | ||
├─ follow_count | number | 必须 | 关注量 | ||
├─ store_id | string | 必须 | 店铺ID | ||
├─ store_logo | string | 必须 | 店铺logo | ||
├─ store_name | string | 必须 | 店铺名称 | ||
page | object | 非必须 | |||
├─ total | integer | 必须 | 总页数 | format: int64 | |
├─ records | integer | 必须 | 总记录数 | format: int64 | |
├─ pageno | integer | 必须 | 每页的记录数 | format: int32 | |
├─ pagesize | integer | 必须 | 页数 | format: int32 |
店铺关注/取消关注(V0.8)
基本信息
Path: /shop/storefollow/update
Method: POST
接口描述:
请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 | ||
Body |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
store_id | string | 必须 | 店铺ID | ||
type | integer | 必须 | 1:关注,2:取消关注 |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
msg | string | 必须 | |||
code | integer | 必须 | format: int32 | ||
data | object | 必须 | |||
├─ store_id | string | 非必须 | |||
├─ follow_status | integer | 必须 | 关注状态:1关注2取关 | format: int32 |
批量取消关注(V0.8)
基本信息
Path: /shop/storefollow/unfollow/batch
Method: POST
接口描述:
请求参数
Headers
参数名称 | 参数值 | 是否必须 | 示例 | 备注 |
---|---|---|---|---|
Content-Type | application/json | 是 | ||
Body |
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
string [] | 非必须 | 店铺id数组 | item 类型: string | ||
├─ | 非必须 |
返回数据
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
code | number | 非必须 | |||
msg | string | 非必须 |