menu.ts 870 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * @Author: your name
  3. * @Date: 2022-01-10 17:11:51
  4. * @LastEditTime: 2022-01-10 17:16:43
  5. * @LastEditors: Please set LastEditors
  6. * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
  7. * @FilePath: /KC-MiddlePlatform/mock/menu.js
  8. */
  9. import { Request, Response } from 'express';
  10. const getMenu = (req: Request, res: Response) => {
  11. const result = {
  12. data: [
  13. {
  14. path: '/paltform/userManage',
  15. name: '用户管理',
  16. icon: '',
  17. url: '',
  18. softUrl: '',
  19. },
  20. {
  21. path: '/paltform/hospManage',
  22. name: '院区管理',
  23. icon: '',
  24. url: '',
  25. softUrl: '',
  26. },
  27. ],
  28. success: true,
  29. status: 200,
  30. };
  31. return res.json(result);
  32. };
  33. export default {
  34. 'GET /centerSys/user/getMenuNav': getMenu,
  35. };