fix: lucene只能在application文件中

This commit is contained in:
2024-06-05 20:21:56 +08:00
parent 1b38690545
commit 009f331c6d
3 changed files with 3 additions and 6 deletions

View File

@@ -27,5 +27,4 @@ nl:
password: 123 password: 123
database: 马钢_RH database: 马钢_RH
logging-path: C:\log\wms logging-path: C:\log\wms
lucene-path: D:\lucene\index
dynamic-log-path: C:\log\lms dynamic-log-path: C:\log\lms

View File

@@ -27,5 +27,4 @@ nl:
password: 123 password: 123
database: 马钢_RH database: 马钢_RH
logging-path: C:\log\wms logging-path: C:\log\wms
lucene-path: D:\lucene\index
dynamic-log-path: C:\log\lms dynamic-log-path: C:\log\lms

View File

@@ -2,7 +2,9 @@ server:
tomcat: tomcat:
relaxed-query-chars: [ '|','{','}','[',']' ] #字符问题https://blog.csdn.net/CanYue_Yi/article/details/109182577 relaxed-query-chars: [ '|','{','}','[',']' ] #字符问题https://blog.csdn.net/CanYue_Yi/article/details/109182577
relaxed-path-chars: [ '|','{','}','[',']' ] #字符问题: https://blog.csdn.net/weixin_41996632/article/details/90715118 relaxed-path-chars: [ '|','{','}','[',']' ] #字符问题: https://blog.csdn.net/weixin_41996632/article/details/90715118
lucene:
index:
path: D:\lucene\index
spring: spring:
profiles: profiles:
active: dev active: dev
@@ -221,9 +223,6 @@ mybatis-plus:
db-config: db-config:
id-type: INPUT id-type: INPUT
banner: false banner: false
lucene:
index:
path: ${nl.config.lucene-path}
# Sa-Token配置 # Sa-Token配置
sa-token: sa-token:
# token 名称 (同时也是cookie名称) # token 名称 (同时也是cookie名称)