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格式编码