1.获取文章分类

接口

POST https://open.jisuapp.cn/business/AppNews/GetCategoryByPage

请求参数说明

Content-Type: application/x-www-form-urlencoded

参数 类型 必填 说明
access_token string Y 用户授权的唯一票据
category_id int N 分类id
page int 页码
page_size int 每页显示的数

返回参数

参数 类型 说明
status int 状态码 0成功 1失败
data object 数据

参数返回示例

{  
"status":0,  
"data":[  
        {  
            "id":"2607",  
            "app_id":"GumaC311tx",  
            "user_token":"648f995c1ca51dea34170ac21a7ef4f7",  
            "agent_user_token":"",  
            "name":"计算机",  
            "article_type":"0",  
            "add_time":"2019-07-17 15:26:00",  
            "update_time":"1563348380",  
            "is_deleted":"0"  
        },  
        {  
            "id":"2608",  
            "app_id":"GumaC311tx",  
            "user_token":"648f995c1ca51dea34170ac21a7ef4f7",  
            "agent_user_token":"",  
            "name":"科学",  
            "article_type":"0",  
            "add_time":"2019-07-17 15:26:02",  
            "update_time":"1563348380",  
            "is_deleted":"0"  
        },  
        {  
            "id":"2609",  
            "app_id":"GumaC311tx",  
            "user_token":"648f995c1ca51dea34170ac21a7ef4f7",  
            "agent_user_token":"",  
            "name":"农业",  
            "article_type":"0",  
            "add_time":"2019-07-17 15:26:28",  
            "update_time":null,  
            "is_deleted":"0"  
        }  
    ],  
"is_more":0,  
"current_page":-1,  
"count":"3",  
"total_page":1  
}

results matching ""

    No results matching ""