feat: v-1.0.1 配置文件搭建
This commit is contained in:
16
xservice-server/src/main/resources/application-local.yml
Normal file
16
xservice-server/src/main/resources/application-local.yml
Normal file
@@ -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
|
||||||
16
xservice-server/src/main/resources/application-prod.yml
Normal file
16
xservice-server/src/main/resources/application-prod.yml
Normal file
@@ -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
|
||||||
16
xservice-server/src/main/resources/application-test.yml
Normal file
16
xservice-server/src/main/resources/application-test.yml
Normal file
@@ -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
|
||||||
@@ -6,21 +6,6 @@ spring:
|
|||||||
profiles:
|
profiles:
|
||||||
active: local
|
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:
|
server:
|
||||||
port: 38020
|
port: 38020
|
||||||
# 返回结果UTF-8格式编码
|
# 返回结果UTF-8格式编码
|
||||||
|
|||||||
Reference in New Issue
Block a user