|
@@ -1,13 +1,11 @@
|
|
|
zuihou:
|
|
|
nginx:
|
|
|
ip: 127.0.0.1 # 正式环境需要将该ip设置成nginx对应的 公网ip
|
|
|
- port: 10000
|
|
|
- #ip: 127.0.0.1
|
|
|
- #port: 8764
|
|
|
+ port: 8760
|
|
|
redis:
|
|
|
ip: 127.0.0.1
|
|
|
- port: 6379
|
|
|
- password: 123456
|
|
|
+ port: 16379
|
|
|
+ password: SbtyMveYNfLzTks7H0apCmyStPzWJqjy
|
|
|
database: 0
|
|
|
rabbitmq:
|
|
|
enabled: true
|
|
@@ -16,12 +14,15 @@ zuihou:
|
|
|
username: guest
|
|
|
password: guest
|
|
|
mysql:
|
|
|
- ip: 106.15.38.8
|
|
|
+# ip: 106.15.38.8
|
|
|
+# username: root
|
|
|
+# password: adminoyq
|
|
|
+ ip: 127.0.0.1
|
|
|
+ username: yejian
|
|
|
+ password: yejian
|
|
|
port: 3306
|
|
|
driverClassName: com.mysql.cj.jdbc.Driver
|
|
|
database: zuihou_defaults_yj
|
|
|
- username: root
|
|
|
- password: adminoyq
|
|
|
url: jdbc:mysql://${zuihou.mysql.ip}:${zuihou.mysql.port}/${zuihou.mysql.database}?serverTimezone=CTT&characterEncoding=utf8&useUnicode=true&useSSL=false&autoReconnect=true&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
|
|
|
database:
|
|
|
tenantDatabasePrefix: zuihou_base_yj
|
|
@@ -31,7 +32,6 @@ zuihou:
|
|
|
worker-id: 0
|
|
|
data-center-id: 0
|
|
|
isSeata: false
|
|
|
-
|
|
|
injection:
|
|
|
# 是否启用 远程数据 手动注入
|
|
|
enabled: true
|
|
@@ -55,7 +55,7 @@ zuihou:
|
|
|
order: -20
|
|
|
file:
|
|
|
type: LOCAL # FAST_DFS LOCAL
|
|
|
- storage-path: D:/data/projects/uploadfile/file/ # 文件存储路径 ( 某些版本的 window 需要改成 D:\\data\\projects\\uploadfile\\file\\ )
|
|
|
+ storage-path: C:/data/projects/uploadfile/file/ # 文件存储路径 ( 某些版本的 window 需要改成 D:\\data\\projects\\uploadfile\\file\\ )
|
|
|
uriPrefix: http://${zuihou.nginx.ip}:${zuihou.nginx.port}/file/ # 文件访问 需要通过这个uri前缀进行访问
|
|
|
inner-uri-prefix: null # 内网的url前缀
|
|
|
down-by-id: http://${zuihou.nginx.ip}:${zuihou.nginx.port}/api/file/attachment/download?ids[]=%s
|
|
@@ -272,7 +272,7 @@ mybatis-plus:
|
|
|
typeEnumsPackage: com.github.zuihou.*.enumeration
|
|
|
global-config:
|
|
|
db-config:
|
|
|
- id-type: INPUT
|
|
|
+ id-type: ASSIGN_ID
|
|
|
insert-strategy: NOT_NULL
|
|
|
update-strategy: NOT_NULL
|
|
|
select-strategy: NOT_EMPTY
|
|
@@ -283,8 +283,7 @@ mybatis-plus:
|
|
|
#配置JdbcTypeForNull, oracle数据库必须配置
|
|
|
jdbc-type-for-null: 'null'
|
|
|
call-setters-on-nulls: true
|
|
|
- #log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
-
|
|
|
+# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
|
|
|
|
|
|
j2cache:
|
|
|
# config-location: /j2cache.properties
|