1 Commits

Author SHA1 Message Date
1a1cd5d8d3 feat: init 2023-10-01 01:37:49 +08:00
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
http://localhost:3000/api/users

7
mock/api.ts Normal file
View File

@@ -0,0 +1,7 @@
export default {
// 支持值为 Object 和 Array
'GET /api/users': { users: [1, 2] },
// GET 可忽略
'/api/users/1': { id: 1 },
}