From 0ee626397048fdabcf8b87762127f608877f9cb9 Mon Sep 17 00:00:00 2001 From: huazhongmin Date: Tue, 23 Dec 2025 17:09:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .idea/sqldialects.xml | 1 + sql/emotion_museum_ddl.sql | 5 ++ web-admin/src/views/aiconfig/AiConfigList.vue | 52 +++++++++++-------- 3 files changed, 37 insertions(+), 21 deletions(-) diff --git a/.idea/sqldialects.xml b/.idea/sqldialects.xml index 5f46374..c9b76db 100644 --- a/.idea/sqldialects.xml +++ b/.idea/sqldialects.xml @@ -2,6 +2,7 @@ + \ No newline at end of file diff --git a/sql/emotion_museum_ddl.sql b/sql/emotion_museum_ddl.sql index 4fc40e2..9037b63 100644 --- a/sql/emotion_museum_ddl.sql +++ b/sql/emotion_museum_ddl.sql @@ -6,3 +6,8 @@ alter table emotion_museum.t_user_profile alter table emotion_museum.t_user_profile add profession varchar(100) null comment '职业'; +-- 职业 +alter table emotion_museum.t_ai_config + add client_id VARCHAR(200) COMMENT '客户端ID (OAuth认证)', + add client_secret VARCHAR(500) COMMENT '客户端密钥 (OAuth认证,加密存储)', + add grant_type VARCHAR(50) COMMENT '授权类型: client_credentials, authorization_code, password等'; diff --git a/web-admin/src/views/aiconfig/AiConfigList.vue b/web-admin/src/views/aiconfig/AiConfigList.vue index 26b4eb6..ae9201d 100644 --- a/web-admin/src/views/aiconfig/AiConfigList.vue +++ b/web-admin/src/views/aiconfig/AiConfigList.vue @@ -3,12 +3,12 @@

AI配置管理

- + - + - + - + - + - + - + - + - + - - - - - - + - + @@ -316,6 +306,15 @@ + + + + @@ -1581,6 +1580,17 @@ onMounted(() => { margin-bottom: 20px; } + .search-form { + display: flex; + flex-wrap: wrap; + gap: 10px; + + .el-form-item { + margin-bottom: 10px; + margin-right: 15px; + } + } + .table-card { .card-header { display: flex;