import { Request, Response } from 'express';
const categoryData = { "code": 200, "success": true, "message": "success", "data": [{ "pageNo": null, "pageSize": null, "createBy": "1", "createTime": "2025-06-16 10:22:16", "updateBy": null, "updateTime": null, "remark": null, "id": "5fb622f6-929c-41c2-be0d-508fecbff3d9", "categoryName": "添加", "parentId": "0", "type": "0", "orderBy": "1", "ancestors": "0,5fb622f6-929c-41c2-be0d-508fecbff3d9", "delFlag": "normal", "lastUpdateTime": null, "basePageRequest": null, "children": [{ "pageNo": null, "pageSize": null, "createBy": "1", "createTime": "2025-06-16 10:32:16", "updateBy": "1", "updateTime": "2025-06-16 10:37:30", "remark": null, "id": "0c653095-a553-48a7-9c2f-6fc708769dd6", "categoryName": "二级商品", "parentId": "5fb622f6-929c-41c2-be0d-508fecbff3d9", "type": "0", "orderBy": "3", "ancestors": "0,5fb622f6-929c-41c2-be0d-508fecbff3d9,0c653095-a553-48a7-9c2f-6fc708769dd6", "delFlag": "normal", "lastUpdateTime": null, "basePageRequest": null, "children": [{ "pageNo": null, "pageSize": null, "createBy": "1", "createTime": "2025-06-16 10:32:59", "updateBy": null, "updateTime": null, "remark": null, "id": "ff59e929-864e-4080-a9c5-852cab7ab129", "categoryName": "一级商品", "parentId": "0c653095-a553-48a7-9c2f-6fc708769dd6", "type": "1", "orderBy": "1", "ancestors": "0,5fb622f6-929c-41c2-be0d-508fecbff3d9,0c653095-a553-48a7-9c2f-6fc708769dd6,ff59e929-864e-4080-a9c5-852cab7ab129", "delFlag": "normal", "lastUpdateTime": null, "basePageRequest": null, "children": null }] }, { "pageNo": null, "pageSize": null, "createBy": "1", "createTime": "2025-06-16 10:29:09", "updateBy": null, "updateTime": null, "remark": null, "id": "ffd210c8-026b-4ec5-aa1e-40d70feb905e", "categoryName": "三级商品", "parentId": "5fb622f6-929c-41c2-be0d-508fecbff3d9", "type": "1", "orderBy": "1", "ancestors": "0,5fb622f6-929c-41c2-be0d-508fecbff3d9,ffd210c8-026b-4ec5-aa1e-40d70feb905e", "delFlag": "normal", "lastUpdateTime": null, "basePageRequest": null, "children": null }] }] }
export default {

  'GET /api/system/mockList': (req: Request, res: Response) => {
    res.json({
      code: 200,
      data: [
        {
          id: 1,
          name: "境外燃油备件库",
          category: "货物）燃料）燃油",
          region: "新加坡",
          creator: "集团",
          validDate: "2028-03-31",
          applyDate: "2025-03-02",
          processStatus: "未开始",
          result: "",
        },
        {
          id: 2,
          name: "境外燃油备件库",
          category: "货物）燃料）燃油",
          region: "马来西亚",
          creator: "集团",
          validDate: "2028-03-31",
          applyDate: "2025-03-02",
          processStatus: "未开始",
          result: "",
        },
        {
          id: 3,
          name: "润滑油库",
          category: "生产型物资）润滑剂）润滑油",
          region: "全球",
          creator: "集团",
          validDate: "2028-03-31",
          applyDate: "2025-03-02",
          processStatus: "进行中",
          result: "",
        },
        {
          id: 4,
          name: "船用物料库",
          category: "生产型物资）船用物料",
          region: "全球",
          creator: "集团",
          validDate: "2028-03-31",
          applyDate: "2025-03-02",
          processStatus: "已结束",
          result: "通过",
        },
      ],
      total: 188,
      msg: "success",
    });
  },

  'GET /api/system/categoryOption': (req: Request, res: Response) => {
    res.json(categoryData);
  },

};
