From ba859299a4af25d0013890d545130dd8ebfd952f Mon Sep 17 00:00:00 2001 From: xiang Date: Sun, 9 Nov 2025 21:44:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20v-1.0.1=20=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6=E6=90=AD=E5=BB=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/application-local.yml | 16 ++++++++++++++++ .../src/main/resources/application-prod.yml | 16 ++++++++++++++++ .../src/main/resources/application-test.yml | 16 ++++++++++++++++ .../src/main/resources/application.yml | 15 --------------- 4 files changed, 48 insertions(+), 15 deletions(-) create mode 100644 xservice-server/src/main/resources/application-local.yml create mode 100644 xservice-server/src/main/resources/application-prod.yml create mode 100644 xservice-server/src/main/resources/application-test.yml diff --git a/xservice-server/src/main/resources/application-local.yml b/xservice-server/src/main/resources/application-local.yml new file mode 100644 index 0000000..cb6e43b --- /dev/null +++ b/xservice-server/src/main/resources/application-local.yml @@ -0,0 +1,16 @@ +spring: + + datasource: + url: jdbc:mysql://rm-bp15t34gqx62jm069ro.mysql.rds.aliyuncs.com:3306/xservice-ai-center?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true + username: root + password: xb#UWqnhH24&XpX + driver-class-name: com.mysql.cj.jdbc.Driver + ai: + dashscope: + api-key: sk-07353fd191074c9c930b134230ba88ea + chat: + options: + model: qwen-plus + http: + connect-timeout: 30s + read-timeout: 60s diff --git a/xservice-server/src/main/resources/application-prod.yml b/xservice-server/src/main/resources/application-prod.yml new file mode 100644 index 0000000..cb6e43b --- /dev/null +++ b/xservice-server/src/main/resources/application-prod.yml @@ -0,0 +1,16 @@ +spring: + + datasource: + url: jdbc:mysql://rm-bp15t34gqx62jm069ro.mysql.rds.aliyuncs.com:3306/xservice-ai-center?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true + username: root + password: xb#UWqnhH24&XpX + driver-class-name: com.mysql.cj.jdbc.Driver + ai: + dashscope: + api-key: sk-07353fd191074c9c930b134230ba88ea + chat: + options: + model: qwen-plus + http: + connect-timeout: 30s + read-timeout: 60s diff --git a/xservice-server/src/main/resources/application-test.yml b/xservice-server/src/main/resources/application-test.yml new file mode 100644 index 0000000..cb6e43b --- /dev/null +++ b/xservice-server/src/main/resources/application-test.yml @@ -0,0 +1,16 @@ +spring: + + datasource: + url: jdbc:mysql://rm-bp15t34gqx62jm069ro.mysql.rds.aliyuncs.com:3306/xservice-ai-center?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true + username: root + password: xb#UWqnhH24&XpX + driver-class-name: com.mysql.cj.jdbc.Driver + ai: + dashscope: + api-key: sk-07353fd191074c9c930b134230ba88ea + chat: + options: + model: qwen-plus + http: + connect-timeout: 30s + read-timeout: 60s diff --git a/xservice-server/src/main/resources/application.yml b/xservice-server/src/main/resources/application.yml index 94dda76..994e2c3 100644 --- a/xservice-server/src/main/resources/application.yml +++ b/xservice-server/src/main/resources/application.yml @@ -6,21 +6,6 @@ spring: profiles: active: local - datasource: - url: jdbc:mysql://rm-bp15t34gqx62jm069ro.mysql.rds.aliyuncs.com:3306/xservice-ai-center?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true - username: root - password: xb#UWqnhH24&XpX - driver-class-name: com.mysql.cj.jdbc.Driver - ai: - dashscope: - api-key: sk-07353fd191074c9c930b134230ba88ea - chat: - options: - model: qwen-plus - http: - connect-timeout: 30s - read-timeout: 60s - server: port: 38020 # 返回结果UTF-8格式编码