From 31095c967e28d04f10e08d02a65ab52d9f988ec2 Mon Sep 17 00:00:00 2001 From: dongzp <975303544@qq.com> Date: Thu, 4 Jun 2026 15:24:11 +0800 Subject: [PATCH] =?UTF-8?q?mock=E6=95=B0=E6=8D=AE=E5=88=86=E7=BB=84?= =?UTF-8?q?=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin.html | 333 +++++++++++++++++++++++++++++++++++++++--- src/admin-handlers.ts | 120 ++++++++++++++- src/db.ts | 83 ++++++++++- src/mock-files.ts | 3 +- src/types.ts | 7 + 5 files changed, 521 insertions(+), 25 deletions(-) diff --git a/admin.html b/admin.html index 0551e02..5c803c8 100644 --- a/admin.html +++ b/admin.html @@ -123,16 +123,27 @@ - +
- Mock 数据配置 + 数据配置(mock)
+ + + + + 新增 Mock 文件 + 分组管理
+ + +