DYH云

DYH开放接口


题目分类 curd

简要描述
  • 题目分类 curd
请求URL
  • {{BASE_URL}}/api/live.paper_question_category/index GET filter:{'step':'xxx','type':'category','name':'xxx','belongs':2(公共)}
  • {{BASE_URL}}/api/live.paper_question_category/add POST
  • {{BASE_URL}}/api/live.paper_question_category/edit/id/:id POST
  • {{BASE_URL}}/api/live.paper_question_category/del/ids/:idsDELETE 1,2,3 返回count 删除数量
参数
参数名 必选 类型 说明
type string 分类的类型 ''category''普通分类 ''question_type''题目类型的分类,''work_type''工种类型的分类,''occupation_type''职业功能类别', 'level'等级分类
    {
    "code": 20000,
    "msg": "success",
    "time": "2022-03-24 10:08:32",
    "data": {
        "count": 5,
        "list": [
            {
                "categoryId": 30,
                "name": "中国历史",
                "pid": 0,
                "platformId": 527,
                "sort": 0,
                "addTime": "2022-03-24 10:03:57",
                "updateTime": "1970-01-01 00:00:00",
                "status": 1
            },
            {
                "categoryId": 29,
                "name": "历史题",
                "pid": 0,
                "platformId": 527,
                "sort": 0,
                "addTime": "2022-03-24 10:03:57",
                "updateTime": "1970-01-01 00:00:00",
                "status": 1
            },
            {
                "categoryId": 28,
                "name": "沟通礼仪",
                "pid": 0,
                "platformId": 527,
                "sort": 0,
                "addTime": "2022-03-24 10:03:57",
                "updateTime": "1970-01-01 00:00:00",
                "status": 1
            },
            {
                "categoryId": 27,
                "name": "礼仪题",
                "pid": 0,
                "platformId": 527,
                "sort": 0,
                "addTime": "2022-03-24 10:03:57",
                "updateTime": "1970-01-01 00:00:00",
                "status": 1
            },
            {
                "categoryId": 26,
                "name": "   ",
                "pid": 0,
                "platformId": 527,
                "sort": 0,
                "addTime": "2022-03-24 10:03:57",
                "updateTime": "1970-01-01 00:00:00",
                "status": 1
            }
        ]
    }

}

页面列表

ITEM_HTML