12345678910111213141516171819202122232425262728 |
- /*
- * @Author:
- * @Date: 2023-09-27 14:33:29
- * @LastEditors: guicheng 1625811865@qq.com
- * @LastEditTime: 2025-02-11 14:56:07
- * @Description: kxs files
- * @filePath:
- */
- // 根据角色动态生成路由
- import { MockMethod } from "vite-plugin-mock";
- export default [
- {
- url: "/list",
- method: "get",
- response: () => {
- return {
- status: "1",
- message: "",
- data: [
- { content: "一一一一一一一一", date: "2024/01/01 00:00:15" },
- { content: "二二二二二二二二", date: "2024/01/02 10:30:57" },
- { content: "三三三三三三三三", date: "2024/01/03 11:08:29" }
- ]
- };
- }
- }
- ] as MockMethod[];
|