12345678910111213141516171819202122 |
- /**
- * 导出所有 Mock 处理器
- */
- import { authHandlers } from './auth.js';
- import { notificationHandlers } from './notification.js';
- import { goodsHandlers } from './goods.js';
- import { categoryHandlers } from './category.js';
- import { orderHandlers } from './order.js';
- // 合并所有处理器
- export const handlers = [
- ...authHandlers,
- ...notificationHandlers,
- ...goodsHandlers,
- ...categoryHandlers,
- ...orderHandlers,
- // 后续可以添加更多处理器
- // ...adminHandlers,
- // ...userHandlers,
- ];
- export default handlers;
|