Authored by mali

接口

@@ -303,4 +303,74 @@ @@ -303,4 +303,74 @@
303 "message": "save netSale Recommend success." 303 "message": "save netSale Recommend success."
304 } 304 }
305 305
  306 +```
  307 +
  308 +
  309 +
  310 +
  311 +# 展示店铺的数据源
  312 +
  313 +> 接口名: `/ShopsRest/getShopList`
  314 +
  315 +### 入参 {"brandId":928}
  316 +
  317 +-------------------------
  318 +|属性名称|类型|例子|说明|是否必填|
  319 +|--------|----|----|----|--------|
  320 +|brandId|number||商品所属品牌Id|必填|
  321 +
  322 +---------------------
  323 +
  324 +### 返回 (关注list里面的id 和 text)
  325 +
  326 +``` json
  327 +{
  328 + "code": 200,
  329 + "data": {
  330 + "list": [
  331 + {
  332 + "checkStatus": 100,
  333 + "createTime": "2015-09-15",
  334 + "id": 18,
  335 + "shopName": "得宝纸巾单品专卖店【测试】",
  336 + "shopNature": 0,
  337 + "shopsId": 18,
  338 + "shopsType": 0,
  339 + "status": 1,
  340 + "text": "得宝纸巾单品专卖店【测试】",
  341 + "updateTime": "2016-02-18"
  342 + },
  343 + {
  344 + "checkStatus": 100,
  345 + "createTime": "2015-09-11",
  346 + "id": 16,
  347 + "shopName": ":CHOCOOLATEQ",
  348 + "shopNature": 0,
  349 + "shopsId": 16,
  350 + "shopsType": 0,
  351 + "status": 1,
  352 + "text": ":CHOCOOLATEQ",
  353 + "updateTime": "2016-02-18"
  354 + },
  355 + {
  356 + "checkStatus": 100,
  357 + "createTime": "2015-09-11",
  358 + "id": 15,
  359 + "shopName": "得宝旗舰店",
  360 + "shopNature": 0,
  361 + "shopsId": 15,
  362 + "shopsType": 0,
  363 + "status": 1,
  364 + "text": "得宝旗舰店",
  365 + "updateTime": "2016-02-17"
  366 + }
  367 + ],
  368 + "page": 1,
  369 + "size": 10,
  370 + "total": 3,
  371 + "totalPage": 1
  372 + },
  373 + "message": "操作成功"
  374 +}
  375 +
306 ``` 376 ```