Commit c857d03a authored by pengxin's avatar pengxin

还原数据库配置接口。

parent d0a33a06
...@@ -4,14 +4,14 @@ spring: ...@@ -4,14 +4,14 @@ spring:
druid: druid:
# 数据库链接 [主数据源] # 数据库链接 [主数据源]
main: main:
url: jdbc:mysql://127.0.0.1:3306/lmp?characterEncoding=utf8&useSSL=true&serverTimezone=Asia/Shanghai url: jdbc:mysql://192.168.0.35:3306/lmp?characterEncoding=utf8&useSSL=true&serverTimezone=Asia/Shanghai
username: root username: yice
password: a327327 password: Yice@2021
# 默认生成的操作日志数据源配置。 # 默认生成的操作日志数据源配置。
operation-log: operation-log:
url: jdbc:mysql://127.0.0.1:3306/lmp?characterEncoding=utf8&useSSL=true&serverTimezone=Asia/Shanghai url: jdbc:mysql://192.168.0.35:3306/lmp?characterEncoding=utf8&useSSL=true&serverTimezone=Asia/Shanghai
username: root username: yice
password: a327327 password: Yice@2021
driverClassName: com.mysql.cj.jdbc.Driver driverClassName: com.mysql.cj.jdbc.Driver
name: application-webadmin name: application-webadmin
initialSize: 10 initialSize: 10
...@@ -84,7 +84,7 @@ python: ...@@ -84,7 +84,7 @@ python:
knowledge: knowledge:
#知识库通用接口地址 #知识库通用接口地址
knowledgeInterface: http://127.0.0.1:7861/knowledge_base/ knowledgeInterface: http://192.168.0.36:7861/knowledge_base/
#创建知识库 #创建知识库
create: create_knowledge_base create: create_knowledge_base
#获取知识库列表 #获取知识库列表
...@@ -163,7 +163,7 @@ redis: ...@@ -163,7 +163,7 @@ redis:
# master-slave: # master-slave:
# 每个节点逗号分隔,第一个为主节点,其余为从节点。同时每个节点前必须以redis://开头。 # 每个节点逗号分隔,第一个为主节点,其余为从节点。同时每个节点前必须以redis://开头。
# address: redis://localhost:6379,redis://localhost:6378,... # address: redis://localhost:6379,redis://localhost:6378,...
address: redis://127.0.0.1:6379 address: redis://192.168.0.35:6379
# 链接超时,单位毫秒。 # 链接超时,单位毫秒。
timeout: 6000 timeout: 6000
# 单位毫秒。分布式锁的超时检测时长。 # 单位毫秒。分布式锁的超时检测时长。
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment