Authored by qianjun

add shops

... ... @@ -440,6 +440,179 @@ or
}
```
## 查询管理员下的所有店铺
> 接口名: `/ShopsRest/queryShopsByAdminPid`
### 入参
```json
{
}
```
-----------------------------
### 返回
```json
{
"code": 200,
"data": [
{
"checkStatus": 300,
"createPid": 1,
"createTime": 1441936854,
"examineStatus": 1,
"operationStatus": 2,
"otherUrl": "111345",
"shopDomain": "debao12343",
"shopIntro": "",
"shopLogo": "/2015/09/11/02/01f42dff5d5bd383af1025eea1218cbccc.jpg",
"shopName": "得宝旗舰店",
"shopNature": 1,
"shopsId": 15,
"shopsType": 2,
"status": 1,
"updateTime": 1455680521,
"websiteUrl": "111111,12345,1234,1232345"
},
{
"checkStatus": 300,
"createPid": 3069,
"createTime": 1452237452,
"examineStatus": 1,
"operationStatus": 2,
"otherUrl": "[]",
"shopAddress": "[]",
"shopDomain": "mocoedition",
"shopIntro": "",
"shopLogo": "",
"shopName": "MO&Co.edition",
"shopNature": 1,
"shopsId": 426,
"shopsType": 1,
"status": 1,
"updateTime": 1453309576,
"websiteUrl": "[]"
},
{
"checkStatus": 300,
"createPid": 2668,
"createTime": 1448613462,
"examineStatus": 1,
"operationStatus": 2,
"otherUrl": "[]",
"shopAddress": "[]",
"shopDomain": "danaobu",
"shopIntro": "走在追求梦想的路上灵魂却愈加疲惫。。。。。。“大脑”相信自然与真实的力量,能够扩大灵魂的疆域,遵从内心最真实的感知,就能找到最满意的自己,到达梦想的彼岸。“大脑”用自己独特的设计语言与您沟通。当设计触碰灵魂的瞬间,心也变得前所未有的轻松与满足。采用最具质感的面料,经过特殊处理的天然棉麻和新式涂层面料是大脑的首选。色调沉稳,触感舒适亲近。款式设计更注重包的整体括型及结构的表现,以及在使用过程中所呈现的更加随意自然的型态之美。",
"shopLogo": "http://img11.static.yhbimg.com/yhb-img01/2015/12/06/02/01936b116f0b32920dee9e97f5f7e3851c.jpg?imageView/{mode}/w/{width}/h/{height}",
"shopName": "大脑+布",
"shopNature": 1,
"shopsId": 98,
"shopsType": 1,
"status": 1,
"updateTime": 1449367954,
"websiteUrl": "[]"
},
{
"checkStatus": 300,
"createPid": 2794,
"createTime": 1456464505,
"examineStatus": 1,
"operationStatus": 2,
"otherUrl": "[]",
"shopAddress": "[]",
"shopDomain": "水产市场",
"shopIntro": "",
"shopName": "水产市场",
"shopNature": 2,
"shopsId": 587,
"shopsType": 1,
"status": 1,
"updateTime": 1456464505,
"websiteUrl": "[]"
},
{
"checkStatus": 300,
"createPid": 100053,
"createTime": 1457405434,
"examineStatus": 1,
"operationStatus": 2,
"otherUrl": "[]",
"shopAddress": "[]",
"shopDomain": "banana baby",
"shopIntro": "",
"shopLogo": "",
"shopName": "香蕉宝贝旗舰店",
"shopNature": 1,
"shopsId": 606,
"shopsType": 1,
"status": 1,
"updateTime": 1457407564,
"websiteUrl": "[]"
},
{
"checkStatus": 100,
"createPid": 1,
"createTime": 1441972181,
"examineStatus": 1,
"operationStatus": 2,
"otherUrl": "123456",
"shopDomain": "tuk1234",
"shopIntro": "T.U.K.由英国诞生,在美国加州扬名。鞋子的设计灵感来源于地下群体,围绕着音乐,艺术及文化,为朋克,乐队,音乐迷,电子乐爱好者,性感美女及任何想要彰显与众不同的人而制作。T.U.K.的风格及美学意念二十年来都没有改变,从传统经典到现代流行,并以坚韧不拔的锐志持续的开发出更具创意的风格,专为18-35岁追求个性、时尚和品质的年轻人打造,她们知道自己要什么,乐做潮流的引导者。",
"shopName": "T.U.K",
"shopNature": 1,
"shopsId": 17,
"shopsType": 1,
"status": 1,
"updateTime": 1455800660,
"websiteUrl": "123456"
}
],
"message": "管理员下所有店铺"
}
```
## 查询品牌关联的所有店铺
> 接口名: `/ShopsRest/queryShopsByBrandId`
### 入参
```json
{
"brandId":1550
}
```
-------------------------
|属性名称|类型|例子|说明|
|--------|----|----|----|
|brandId|int|1550|品牌ID|
-----------------------------
### 返回
```json
{
"code": 200,
"data": [
{
"id": 617,
"shopName": "test0317",
"shopsId": 617,
"text": "test0317"
},
{
"id": 631,
"shopName": "shops1234",
"shopsId": 631,
"text": "shops1234"
}
],
"message": "品牌关联的所有店铺"
}
```
## 获取所有身份
> 接口名: `/EnumListRest/getEnumList`
... ...