getResPlatforms.md 1.21 KB

查询所有的资源分类

接口名: `/resources/getResPlatforms

方法

POST JSONRAW

入参

对应SQL的操作库表

   <select id="selectAll" resultMap="BaseResultMap">
    select
    <include refid="Base_Column_List" />
    from platform order by create_time DESC
  </select>

错误编码


错误码code 消息 说明
200 操作成功

返回

{
    "code": 200,
    "data": [
        {
            "createTime": 1432882973,
            "platformFlag": "hf",
            "platformId": 9,
            "platformName": "wap",
            "status": 1
        },
        {
            "createTime": 1431670386,
            "platformFlag": "ipad",
            "platformId": 6,
            "platformName": "yohoipad",
            "status": 1
        },
        {
            "createTime": 1430735334,
            "platformId": 5,
            "platformName": "web",
            "status": 1
        },
        {
            "createTime": 1430300615,
            "platformFlag": "iphone",
            "platformId": 1,
            "platformName": "yohoApp",
            "status": 1
        }
    ],
    "md5": "ec49b84362a00ef54b5fe3c7c9f6db3a",
    "message": "操作成功"
}