import { Request, Response } from 'express'; const getCertificateList = (req: Request, res: Response) => { res.json({ data: { list: [ { examination_id: 1, // examination_end_time: '2022/01/01', // 考试结束时间 examination_name: '2021年生涯规划初级认证考试(一)', // 考试名称 examination_start_time: '2022/01/01', // 考试开始时间 apply_end_time: '2022/01/01', apply_person_count: 0, apply_start_time: '2022/01/01', // 报名开始时间 create_time: '2022/01/01', // 创建日期 is_apply: 10, // 报名状态 paper_count: 2, // 试卷数量 rules_id: 1, // 关联考试规则 status_type: 1, // 状态 }, { examination_id: 2, // examination_end_time: '2022/01/01', // 考试结束时间 examination_name: '2021年生涯规划初级认证考试(二)', // 考试名称 examination_start_time: '2022/01/01', // 考试开始时间 apply_end_time: '2022/01/01', apply_person_count: 0, apply_start_time: '2022/01/01', // 报名开始时间 create_time: '2022/01/01', // 创建日期 is_apply: 10, // 报名状态 paper_count: 2, // 试卷数量 rules_id: 1, // 关联考试规则 status_type: 1, // 状态 }, { examination_id: 3, // examination_end_time: '2022/01/01', // 考试结束时间 examination_name: '2021年生涯规划初级认证考试(三)', // 考试名称 examination_start_time: '2022/01/01', // 考试开始时间 apply_end_time: '2022/01/01', apply_person_count: 0, apply_start_time: '2022/01/01', // 报名开始时间 create_time: '2022/01/01', // 创建日期 is_apply: 10, // 报名状态 paper_count: 2, // 试卷数量 rules_id: 1, // 关联考试规则 status_type: 1, // 状态 }, { examination_id: 4, // examination_end_time: '2022/01/01', // 考试结束时间 examination_name: '2021年生涯规划初级认证考试(四)', // 考试名称 examination_start_time: '2022/01/01', // 考试开始时间 apply_end_time: '2022/01/01', apply_person_count: 0, apply_start_time: '2022/01/01', // 报名开始时间 create_time: '2022/01/01', // 创建日期 is_apply: 10, // 报名状态 paper_count: 2, // 试卷数量 rules_id: 1, // 关联考试规则 status_type: 1, // 状态 }, { examination_id: 5, // examination_end_time: '2022/01/01', // 考试结束时间 examination_name: '2021年生涯规划初级认证考试(五)', // 考试名称 examination_start_time: '2022/01/01', // 考试开始时间 apply_end_time: '2022/01/01', apply_person_count: 0, apply_start_time: '2022/01/01', // 报名开始时间 create_time: '2022/01/01', // 创建日期 is_apply: 10, // 报名状态 paper_count: 2, // 试卷数量 rules_id: 1, // 关联考试规则 status_type: 1, // 状态 }, { examination_id: 6, // examination_end_time: '2022/01/01', // 考试结束时间 examination_name: '2021年生涯规划初级认证考试(六)', // 考试名称 examination_start_time: '2022/01/01', // 考试开始时间 apply_end_time: '2022/01/01', apply_person_count: 0, apply_start_time: '2022/01/01', // 报名开始时间 create_time: '2022/01/01', // 创建日期 is_apply: 10, // 报名状态 paper_count: 2, // 试卷数量 rules_id: 1, // 关联考试规则 status_type: 1, // 状态 }, ], } }); }; export default { 'GET /api/zygh/training/examination/getCertificateList': getCertificateList, };