Refactor code structure for improved readability and maintainability

This commit is contained in:
2026-02-18 03:37:45 +08:00
parent 63edd0fd84
commit f33d4c293d
12 changed files with 433 additions and 204 deletions

View File

@@ -118,8 +118,8 @@ app
.addTo(app);
app
.route({
path: 'admin-auth',
id: 'admin-auth',
path: 'auth-admin',
id: 'auth-admin',
description: '管理员鉴权, 获取用户信息,并验证是否为管理员。',
})
.define(async (ctx) => {