...
|
...
|
@@ -2785,3 +2785,43 @@ code为200即为成功,否则是失败。 |
|
|
"message": "product brandshop Intro"
|
|
|
}
|
|
|
```
|
|
|
## 16、pc端品牌页面跳转接口,根据domain查找shop_id##
|
|
|
|
|
|
(method=web.brand.byDomain)
|
|
|
#### 请求参数
|
|
|
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|
|
|
|:-------| -----:|-----:|-----:|-----:|----:|
|
|
|
|domain|string|否|andybrier|无|品牌domain|
|
|
|
|
|
|
品牌店铺需求,品牌上增加用于跳转的枚举值type:
|
|
|
无店铺:0--->品牌页
|
|
|
无单品店有多品店:1--->搜索页
|
|
|
有单品店:2--->店铺页面
|
|
|
请求示例
|
|
|
http://127.0.0.1:8080/gateway/?method=web.brand.byDomain&v=7&domain=andybrier&debug=XYZ
|
|
|
|
|
|
### 响应
|
|
|
code为200即为成功,否则是失败。
|
|
|
响应JSON格式如下所示:
|
|
|
```json
|
|
|
{
|
|
|
"alg": "SALT_MD5",
|
|
|
"code": 200,
|
|
|
"data": {
|
|
|
"brandAlif": "",
|
|
|
"brand_banner": "http:///brandBanner?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90",
|
|
|
"brand_domain": "andybrier",
|
|
|
"brand_ico": "http://img11.static.yhbimg.com/brandLogo/2016/03/30/13/0156cf0bd45269093a4d7a027ae36baefc.jpg?imageMogr2/thumbnail/{width}x{height}/extent/{width}x{height}/background/d2hpdGU=/position/center/quality/90",
|
|
|
"brand_intro": "",
|
|
|
"brand_name": "张春华的品牌",
|
|
|
"brand_name_cn": "张春华品牌1",
|
|
|
"brand_name_en": "Andybrier",
|
|
|
"id": 1565,
|
|
|
"shop_id": "646",
|
|
|
"static_content_code": "",
|
|
|
"type": "2"
|
|
|
},
|
|
|
"md5": "f8692bb0985d7b3be92150b503ab5159",
|
|
|
"message": "brand info"
|
|
|
}
|
|
|
``` |
|
|
\ No newline at end of file |
...
|
...
|
|