线下店商品迭代-店铺相关接口.md
4.6 KB
线下店商品迭代
一、 获取所有可用店铺列表。
入口:ShopController/selectCheckPassShops
请求参数
参数名称 | 参数类型 | 长度 | 可否为空 | 示例 | 默认值 | 备注 |
---|
请求示例
注意,通用的头部没有列出。
192.168.102.210:8080/portal-gateway/ShopController/selectCheckPassShops?debug=XYZ
响应
code为200即为成功,否则是失败。 响应JSON格式如下所示:
{
"code": 200,
"message": "操作成功",
"data": [
{
"checkStatus": 0,
"createTime": "",
"id": 15,
"status": 0,
"text": "得宝旗舰店",
"updateTime": ""
},
{
"checkStatus": 0,
"createTime": "",
"id": 16,
"status": 0,
"text": ":CHOCOOLATEQ",
"updateTime": ""
}
]
}
二、 依据店铺id批量获取店铺列表(id,名称) 。
入口:ShopController/getShopListByIds
请求参数
参数名称 | 参数类型 | 长度 | 可否为空 | 示例 | 默认值 | 备注 |
---|---|---|---|---|---|---|
params | string | --------: | -----: | {"shopIds":[888]} | ------: | json字符串 |
请求示例
注意,通用的头部没有列出。
192.168.102.210:8080/portal-gateway/ShopController/getShopListByIds?debug=XYZ¶ms={"shopIds":[888]}
响应
code为200即为成功,否则是失败。 响应JSON格式如下所示:
{
"code": 200,
"message": "操作成功",
"data": [
{
"id": 888,
"text": "songchao经典店铺"
}
]
}
三、 依据品牌id批量获取品牌列表(id,名称) 。
入口:PurchaseAllocationController/queryBrandsByIds
请求参数
参数名称 | 参数类型 | 长度 | 可否为空 | 示例 | 默认值 | 备注 |
---|---|---|---|---|---|---|
brandIds | 数组 | --------: | -----: | ------: | ------: | ------: |
请求示例
注意,通用的头部没有列出。
192.168.102.210:8080/portal-gateway/PurchaseAllocationController/queryBrandsByIds?debug=XYZ { "brandIds":[1,2,3] }
响应
code为200即为成功,否则是失败。 响应JSON格式如下所示:
{
"code": 200,
"data": [
{
"brandAlif": "0",
"brandCertificate": "",
"brandDomain": "004",
"brandFounder": "",
"brandHeadstream": 2,
"brandIco": "/2011/06/26/19/016f21d6a39d5071e1864943253dcdefde.jpg",
"brandLevel": "A",
"brandName": "2%",
"brandNameCn": "004",
"brandNameEn": "004",
"brandNature": 0,
"brandStyle": "",
"brandTonality": 100,
"brandTypeId": 0,
"brandTypes": 0,
"createTime": 0,
"id": 1,
"isShipping": 1,
"joinHands": 1,
"mainCategory": 2,
"offlineBrandIco": "",
"parentId": 0,
"promotionLevel": 2,
"registerCertUrl": "http://img11.static.yhbimg.com/brandCertificate/2016/08/18/10/011416127b39cd3ce3d51fcf6b8da9b8d3.jpg",
"remark": "",
"saleType": 1,
"status": 1
},
{
"brandCertificate": "/2014/08/15/09/02b087e12df7a080e6dbfd4d169e1a6248.pdf",
"brandFounder": "",
"brandHeadstream": 0,
"brandIco": "/2014/12/09/14/01c268eeca1437276d8711e6db7746ddf1.jpg",
"brandLevel": "",
"brandName": "10x1",
"brandNameCn": "10x1",
"brandNameEn": "10x1",
"brandNature": 0,
"brandStyle": "",
"brandTonality": 1,
"brandTypeId": 0,
"brandTypes": 0,
"createTime": 0,
"id": 2,
"isShipping": 1,
"joinHands": 1,
"mainCategory": 0,
"offlineBrandIco": "",
"parentId": 0,
"promotionLevel": 0,
"remark": "",
"saleType": 1,
"status": 1
},
{
"brandAlif": "3",
"brandCertificate": "",
"brandDomain": "3summer",
"brandFounder": "",
"brandHeadstream": 0,
"brandIco": "/2011/06/13/10/01ecc0da4a2c0ce298b70eae8ef880adc8.jpg",
"brandInitials": "",
"brandLevel": "",
"brandName": "3summer",
"brandNameCn": "3summer",
"brandNameEn": "3summer",
"brandNature": 0,
"brandOutline": "3 SUMMER创立于2008年,其品牌精神是真诚的、不浮夸的、反对过度设计的、智慧的、日常的、环保的。",
"brandSign": "",
"brandStyle": "",
"brandTonality": 0,
"brandTypeId": 4,
"brandTypes": 1,
"brandUrl": "",
"createTime": 0,
"id": 3,
"isShipping": 0,
"joinHands": 1,
"mainCategory": 0,
"offlineBrandIco": "",
"parentId": 0,
"promotionLevel": 0,
"saleType": 1,
"status": 0
}
],
"md5": "b15f63f18aee9e7a78e9c4598b37de49",
"message": "品牌关联"
}
##