/** 课程 */
import { Request, Response } from 'express';
const getCourses = (req: Request, res: Response) => {
    res.json({
        "code": 200,
        "data": {
            "list": [
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 2,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 3,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 4,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 5,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 6,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 7,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 8,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 9,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 10,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
                {
                    "attachment_filesize": 250,
                    "attachment_json": "{}",
                    "browse_times": 0,
                    "course_describe": "生涯理论课程描述",
                    "course_hours": 27.55,
                    "course_id": 1,
                    "course_minutes": 1653,
                    "course_name": "生涯理论课程",
                    "create_time": "2022-01-05 15:30:08",
                    "is_deleted": 0,
                    "lecture_teacher": "王老师",
                    "tag_id": 11,
                    "tag_name": "生涯理论",
                    "update_time": "2022-01-05 15:32:41"
                },
            ],
            "page_number": 1,
            "page_size": 10,
            "total_page": 1,
            "total_row": 1
        },
        "msg": "请求成功"
    });
  };
  
  export default {
    'GET /dsideal_yy/ypt/careerTraining/course/list': getCourses,
  };
  
