Authored by wei

update

# 查询资源(分页)
# 查询资源(分页)
> 接口名: `/resources/queryResource
> 接口名: `/resources/queryResource
### 方法
### 方法
> POST JSONRAW
### 入参
### 入参
-------------------------
|属性名称|类型|例子|说明|是否必填|长度限制|
|属性名称|类型|例子|说明|是否必填|长度限制|
|--------|----|----|---|----|--------|
|name|string|男首|资源名称|否|100
|sortId|int|2|分类编号|否|11
|platformId|int|1|平台编号|否|11
|page|int|1|1|页码|否|无
|name|string|男首|资源名称|否|100
|sortId|int|2|分类编号|否|11
|platformId|int|1|平台编号|否|11
|page|int|1|页码|否|无
### 对应SQL的操作库表
### 对应SQL的操作库表
```xml
<select id="selectCountByNameLikeAndSortIdAndPlatFormId" resultType="java.lang.Integer">
... ... @@ -65,14 +65,14 @@
</select>
```
### 错误编码
### 错误编码
-------------------------
|错误码code|消息|说明|
|错误码code|消息|说明|
|--------|----|----|
|200|操作成功| |
|200|操作成功| |
### 返回
### 返回
``` json
{
... ... @@ -84,106 +84,106 @@
"createTime": 1430378310,
"id": 8,
"matchCode": "",
"name": "男首页",
"name": "男首页",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 2,
"sortName": "男首"
"sortName": "男首"
},
{
"code": "201504091403002",
"createTime": 1430382471,
"id": 10,
"matchCode": "",
"name": "女首页",
"name": "女首页",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 3,
"sortName": "女首"
"sortName": "女首"
},
{
"code": "92cc5ace088dd2ddfb850e2fa673302e",
"createTime": 1430581214,
"id": 11,
"matchCode": "",
"name": "逛.潮人列表页广告",
"name": "逛.潮人列表页广告",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 4,
"sortName": "逛列表页"
"sortName": "逛列表页"
},
{
"code": "b51a4c7211a658c800472c9abf30c746",
"createTime": 1430583683,
"id": 12,
"matchCode": "",
"name": "逛.话题列表广告",
"name": "逛.话题列表广告",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 4,
"sortName": "逛列表页"
"sortName": "逛列表页"
},
{
"code": "180a31250622f11180f808d4404d0e78",
"createTime": 1430583783,
"id": 13,
"matchCode": "",
"name": "逛. 搭配列表广告",
"name": "逛. 搭配列表广告",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 4,
"sortName": "逛列表页"
"sortName": "逛列表页"
},
{
"code": "5b2f6bb1547c817e30d96007c60c1893",
"createTime": 1430583858,
"id": 14,
"matchCode": "",
"name": "逛.潮品列表广告",
"name": "逛.潮品列表广告",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 4,
"sortName": "逛列表页"
"sortName": "逛列表页"
},
{
"code": "268654b65a362c866378b092ad8a5342",
"createTime": 1430584009,
"id": 15,
"matchCode": "",
"name": "逛.小贴士",
"name": "逛.小贴士",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 4,
"sortName": "逛列表页"
"sortName": "逛列表页"
},
{
"code": "8c48745a39373d621bf5fd80edf59b5e",
"createTime": 1430725440,
"id": 16,
"matchCode": "",
"name": "男装底部切换到女装首页banner",
"name": "男装底部切换到女装首页banner",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 2,
"sortName": "男首"
"sortName": "男首"
},
{
"code": "c63939b2ad458e9cb51147940c1da2e5",
"createTime": 1430725950,
"id": 17,
"matchCode": "",
"name": "女首进入男首的banner",
"name": "女首进入男首的banner",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 3,
"sortName": "女首"
"sortName": "女首"
},
{
"code": "b714c25f503ab4e6bc143a42d1404cbb",
"createTime": 1430809519,
"id": 18,
"matchCode": "",
"name": "Plus 国际优选推荐头部广告",
"name": "Plus 国际优选推荐头部广告",
"platformId": 1,
"platformName": "yohoApp",
"sortId": 5,
... ... @@ -196,7 +196,7 @@
"totalPage": 31
},
"md5": "9c6777ba7425010536cd342e80610119",
"message": "操作成功"
"message": "操作成功"
}
```
... ...