resSortIndex.md
1.18 KB
查询资源分类首页列表
接口名: `/resources/resSortIndex
方法
POST JSONRAW
入参
对应SQL的操作库表
<select id="selectAll" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from platform order by create_time DESC
</select>
<select id="selectAll" resultMap="BaseResultMap">
select
<include refid="Base_Column_List" />
from resources_sort order by create_time desc
</select>
错误编码
错误码code | 消息 | 说明 |
---|---|---|
200 | 操作成功 | |
404 | 资源分类不能为空! |
返回
{
"code": 200,
"data": {
"platform": [
{
"createTime": 1430300615,
"platformFlag": "iphone",
"platformId": 1,
"platformName": "yohoApp",
"status": 1
}
],
"result": [
{
"createTime": 1430304722,
"platformId": 1,
"sortId": 2,
"sortName": "男首",
"status": 1
}
]
},
"md5": "ff6d0788a93de7a134aee28e3798eb17",
"message": "操作成功"
}