|
|
# 查询资讯分类资源
|
|
|
|
|
|
> 接口名: `/guang/article/sort/getList
|
|
|
|
|
|
### 方法
|
|
|
|
|
|
> GET
|
|
|
|
|
|
### 无参
|
|
|
|
|
|
|
|
|
|
|
|
### 对应SQL的操作库表
|
|
|
|
|
|
```xml
|
|
|
<select id="selectAllSortList" resultMap="BaseResultMap">
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
|
from article_sort
|
|
|
order by order_by DESC
|
|
|
</select>
|
|
|
```
|
|
|
|
|
|
### 错误编码
|
|
|
|
|
|
-------------------------
|
|
|
|错误码code|消息|说明|
|
|
|
|--------|----|----|
|
|
|
|200|操作成功| |
|
|
|
|
|
|
### 返回
|
|
|
|
|
|
``` json
|
|
|
{
|
|
|
"code": 200,
|
|
|
"data": [
|
|
|
{
|
|
|
"id": "1",
|
|
|
"orderBy": "1",
|
|
|
"status":"1"
|
|
|
"name":"推荐"
|
|
|
},
|
|
|
{
|
|
|
"id": "2",
|
|
|
"orderBy": "2",
|
|
|
"status":"1"
|
|
|
"name":"搭配"
|
|
|
},
|
|
|
{
|
|
|
"id": "3",
|
|
|
"orderBy": "3",
|
|
|
"status":"1"
|
|
|
"name":"潮人"
|
|
|
},
|
|
|
{
|
|
|
"id": "4",
|
|
|
"orderBy": "4",
|
|
|
"status":"1"
|
|
|
"name":"潮品"
|
|
|
},
|
|
|
{
|
|
|
"id": "5",
|
|
|
"orderBy": "5",
|
|
|
"status":"1"
|
|
|
"name":"专题"
|
|
|
}
|
|
|
],
|
|
|
md5=3be40e83baf090a2ea799d9ece2ee199,
|
|
|
message=分类列表
|
|
|
}
|
|
|
|
|
|
``` |
...
|
...
|
|