简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-12-20

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明
token string 授权凭证

请求参数:

参数名 是否必须 类型 说明
one_cate_id int 一级id
two_cate_id int 二级id
page string 页码
pagesize string 条数
title string 标题或者内容

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "material_id": "2",
                "title": "php显示日期(今天、昨天、本周、上周、本月、上月、)",
                "is_vip": "2",
                "introduct": "php显示日期(今天、昨天、本周、上周、本月、上月、)",
                "created_at": "2020-03-01 06:21:15",
                "cate_name": "写作基础",
                "collect_status": true
            }
        ],
        "page": 1,
        "pagesize": 10,
        "total": 1
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "提交失败"
}

返回参数说明:

参数名 类型 说明
material_id string 记录id
title string 标题
is_vip int 是否是vip【1=是,2=否】
introduct string 简介
created_at int 时间
cate_name string 二级分类名称
collect_status bool true=已收藏,false=未收藏

备注:

文档更新时间: 2022-01-06 16:28   作者:admin