简要描述:

请求域名:

  • http://xx.com

请求路由:

GET/&route=plugin.ai-checkup.frontend.controllers.legal-checkup.getQuestions&second_category_id=1

请求参数说明:

参数名 类型 是否必需 说明
second_category_id int 二级分类id

返回示例:

正确时返回:

{
    "result": 1,
    "msg": "获取成功",
    "data": {
        "questions": [
            {
                "id": 1,
                "content": "您是否清楚未成年人无民事行为能力人和限制民事行为能力人的区别?",
                "sort": 0,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 1,
                        "uniacid": 2,
                        "question_id": 1,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 2,
                        "uniacid": 2,
                        "question_id": 1,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 2,
                "content": "您是否清楚未成年人侵权造成损失与后果,哪些有家长承担?",
                "sort": 1,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 3,
                        "uniacid": 2,
                        "question_id": 2,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 4,
                        "uniacid": 2,
                        "question_id": 2,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 3,
                "content": "您是否清楚孩子在学校的安全义务承担责任人?",
                "sort": 2,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 5,
                        "uniacid": 2,
                        "question_id": 3,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 6,
                        "uniacid": 2,
                        "question_id": 3,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 4,
                "content": "您是否清楚孩子在学校可以享受的权利?",
                "sort": 3,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 7,
                        "uniacid": 2,
                        "question_id": 4,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 8,
                        "uniacid": 2,
                        "question_id": 4,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 5,
                "content": "您是否清楚关于孩子对外赠与的有效与否?",
                "sort": 4,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 9,
                        "uniacid": 2,
                        "question_id": 5,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 10,
                        "uniacid": 2,
                        "question_id": 5,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 6,
                "content": "您是否了解未成年人能否开通直播?",
                "sort": 5,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 11,
                        "uniacid": 2,
                        "question_id": 6,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 12,
                        "uniacid": 2,
                        "question_id": 6,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 7,
                "content": "您是否了解未成年人能否上网消费、打赏?",
                "sort": 6,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 13,
                        "uniacid": 2,
                        "question_id": 7,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 14,
                        "uniacid": 2,
                        "question_id": 7,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 8,
                "content": "您是否了解未成年人能否带手机入课堂?",
                "sort": 7,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 15,
                        "uniacid": 2,
                        "question_id": 8,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 16,
                        "uniacid": 2,
                        "question_id": 8,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 9,
                "content": "您是否了解未成年人能否住酒店?",
                "sort": 8,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 17,
                        "uniacid": 2,
                        "question_id": 9,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 18,
                        "uniacid": 2,
                        "question_id": 9,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 10,
                "content": "您是否了解有前科者能否接触未成年人?",
                "sort": 9,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 19,
                        "uniacid": 2,
                        "question_id": 10,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 20,
                        "uniacid": 2,
                        "question_id": 10,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 11,
                "content": "您是否了解未成年人出庭作证事宜?",
                "sort": 10,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 21,
                        "uniacid": 2,
                        "question_id": 11,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 22,
                        "uniacid": 2,
                        "question_id": 11,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 12,
                "content": "您是否了解未成年人能否购买烟酒?",
                "sort": 11,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 23,
                        "uniacid": 2,
                        "question_id": 12,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 24,
                        "uniacid": 2,
                        "question_id": 12,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 13,
                "content": "是否了解未成年未满多少岁不能独自在家?",
                "sort": 12,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 25,
                        "uniacid": 2,
                        "question_id": 13,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 26,
                        "uniacid": 2,
                        "question_id": 13,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 14,
                "content": "是否清楚未成年人犯罪刑事责任的承担?",
                "sort": 13,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 27,
                        "uniacid": 2,
                        "question_id": 14,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 28,
                        "uniacid": 2,
                        "question_id": 14,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 15,
                "content": "是否清楚虐待家庭成员是否构成犯罪?",
                "sort": 14,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 29,
                        "uniacid": 2,
                        "question_id": 15,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 30,
                        "uniacid": 2,
                        "question_id": 15,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 16,
                "content": "未成年人在学校受伤,学校是否需要承担责任?",
                "sort": 15,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 31,
                        "uniacid": 2,
                        "question_id": 16,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 32,
                        "uniacid": 2,
                        "question_id": 16,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 17,
                "content": "未成年人违反治安管理规定是否会受到处罚?",
                "sort": 16,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 33,
                        "uniacid": 2,
                        "question_id": 17,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 34,
                        "uniacid": 2,
                        "question_id": 17,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 18,
                "content": "楚未成年人的严重不良行为是什么?",
                "sort": 17,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 35,
                        "uniacid": 2,
                        "question_id": 18,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 36,
                        "uniacid": 2,
                        "question_id": 18,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 19,
                "content": "是否清楚校园贷(特别是裸贷)所涉及的法律问题?",
                "sort": 18,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 37,
                        "uniacid": 2,
                        "question_id": 19,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 38,
                        "uniacid": 2,
                        "question_id": 19,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            },
            {
                "id": 20,
                "content": "学生在校园里被校外人员打伤,学校是否需要承担责任?",
                "sort": 19,
                "first_category_id": 1,
                "second_category_id": 1,
                "options": [
                    {
                        "id": 39,
                        "uniacid": 2,
                        "question_id": 20,
                        "content": "是",
                        "sort": 0,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    },
                    {
                        "id": 40,
                        "uniacid": 2,
                        "question_id": 20,
                        "content": "否",
                        "sort": 1,
                        "created_at": "2025-12-19 13:51:10",
                        "updated_at": "2025-12-19 13:51:10"
                    }
                ]
            }
        ]
    }
}

返回参数说明:

参数名 类型 说明