This commit is contained in:
jiangh277
2025-07-22 22:52:55 +08:00
commit 04dde093a8
321 changed files with 45645 additions and 0 deletions

14
mock/monitor.mock.ts Normal file
View File

@@ -0,0 +1,14 @@
import type { Request, Response } from 'express';
import mockjs from 'mockjs';
const getTags = (_: Request, res: Response) => {
return res.json({
data: mockjs.mock({
'list|100': [{ name: '@city', 'value|1-100': 150, 'type|0-2': 1 }],
}),
});
};
export default {
'GET /api/tags': getTags,
};