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

@@ -11,7 +11,7 @@ app
path: 'ai',
key: 'chat',
description: '与 AI 进行对话, 调用 GPT 的AI 服务,生成结果,并返回。',
middleware: ['admin-auth'],
middleware: ['auth-admin'],
metadata: {
admin: true,
}