68 changed files with 50 additions and 1035 deletions
@ -0,0 +1,50 @@ |
|||
###################################################################### |
|||
# Build Tools |
|||
|
|||
.gradle |
|||
/build/ |
|||
!gradle/wrapper/gradle-wrapper.jar |
|||
|
|||
target/ |
|||
!.mvn/wrapper/maven-wrapper.jar |
|||
|
|||
###################################################################### |
|||
# IDE |
|||
|
|||
### STS ### |
|||
.apt_generated |
|||
.classpath |
|||
.factorypath |
|||
.project |
|||
.settings |
|||
.springBeans |
|||
|
|||
### IntelliJ IDEA ### |
|||
.idea |
|||
*.iws |
|||
*.iml |
|||
*.ipr |
|||
|
|||
### JRebel ### |
|||
rebel.xml |
|||
### NetBeans ### |
|||
nbproject/private/ |
|||
build/* |
|||
nbbuild/ |
|||
nbdist/ |
|||
.nb-gradle/ |
|||
|
|||
###################################################################### |
|||
# Others |
|||
*.log |
|||
*.xml.versionsBackup |
|||
*.swp |
|||
|
|||
!*/build/*.java |
|||
!*/build/*.html |
|||
!*/build/*.xml |
|||
|
|||
.flattened-pom.xml |
|||
application-local.yml |
|||
application-local.yaml |
|||
|
@ -1 +0,0 @@ |
|||
restart.include.json=/com.alibaba.fastjson.*.jar |
@ -1,191 +0,0 @@ |
|||
# 项目相关配置 |
|||
shuili: |
|||
# 名称 |
|||
name: 天汇重构 |
|||
#系统别名 英文/汉语拼音 做缓存的前缀 每个模块的配置必须一样 |
|||
nameKey: tianhui_lyj |
|||
# 版本 |
|||
version: 1.0 |
|||
# 版权年份 |
|||
copyrightYear: 2023 |
|||
# 实例演示开关 |
|||
demoEnabled: true |
|||
# 临时文件地址 |
|||
profile: E:/tianhui |
|||
# 获取ip地址开关 |
|||
addressEnabled: false |
|||
# 验证码类型 math 数组计算 char 字符验证 |
|||
captchaType: math |
|||
#数据库配置 参考枚举类DbType |
|||
dbType: mysql |
|||
#初始话数据的位置 采集的文献的导入 |
|||
initData: E:\\199it |
|||
init: true |
|||
#导入TNT 数据 |
|||
initTntData: C:\Users\liuyanjun\Desktop\人物-政党导出V1\人物-政党导出V1 |
|||
#neo4j的一个from |
|||
database: tianhui_lyj |
|||
# 开发环境配置 |
|||
server: |
|||
# 服务器的HTTP端口,默认为8080 |
|||
port: 18082 |
|||
servlet: |
|||
# 应用的访问路径 |
|||
context-path: /tianhui-admin-web |
|||
tomcat: |
|||
# tomcat的URI编码 |
|||
uri-encoding: UTF-8 |
|||
# tomcat最大线程数,默认为200 |
|||
max-threads: 800 |
|||
# Tomcat启动初始化的线程数,默认值25 |
|||
min-spare-threads: 30 |
|||
# 日志配置 |
|||
logging: |
|||
level: |
|||
com.kms: debug |
|||
org.springframework: warn |
|||
# Spring配置 |
|||
spring: |
|||
mongodb: |
|||
uri: mongodb://192.168.1.20:27017/tianhui |
|||
field-naming-strategy: org.springframework.data.mapping.model.SnakeCaseFieldNamingStrategy |
|||
# 资源信息 |
|||
messages: |
|||
# 国际化资源文件路径 |
|||
basename: i18n/messages |
|||
profiles: |
|||
active: druid-dev |
|||
session: |
|||
store-type: redis |
|||
redis: |
|||
flush-mode: immediate |
|||
# 文件上传 |
|||
servlet: |
|||
multipart: |
|||
# 单个文件大小 |
|||
max-file-size: 1000MB |
|||
# 设置总上传的文件大小 |
|||
max-request-size: 20000MB |
|||
# 服务模块 |
|||
devtools: |
|||
restart: |
|||
# 热部署开关 |
|||
enabled: true |
|||
# redis 配置 |
|||
redis: |
|||
# 地址 |
|||
host: 192.168.1.20 |
|||
# cluster: |
|||
# nodes: 192.168.1.20:7001,192.168.1.20:7002,192.168.1.20:7003,192.168.1.20:7004,192.168.1.20:7005,192.168.1.20:7006 |
|||
# max-redirects: 3 |
|||
# 端口,默认为6379 |
|||
port: 6379 |
|||
# 密码 |
|||
password: |
|||
# 连接超时时间 |
|||
timeout: 10s |
|||
lettuce: |
|||
pool: |
|||
# 连接池中的最小空闲连接 |
|||
min-idle: 16 |
|||
# 连接池中的最大空闲连接 |
|||
max-idle: 32 |
|||
# 连接池的最大数据库连接数 |
|||
max-active: 8 |
|||
# #连接池最大阻塞等待时间(使用负值表示没有限制) |
|||
max-wait: -1ms |
|||
# password: password |
|||
sa-token: |
|||
# token名称 (同时也是cookie名称) |
|||
token-name: shuili |
|||
# token有效期,单位s 默认30天, -1代表永不过期 |
|||
timeout: -1 |
|||
# token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒 |
|||
activity-timeout: 1800 |
|||
# 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录) |
|||
is-concurrent: true |
|||
# 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token) |
|||
is-share: false |
|||
# token风格 |
|||
token-style: uuid |
|||
# 是否输出操作日志 |
|||
is-log: true |
|||
isReadCookie: false |
|||
tokenSessionCheckLogin: false |
|||
#是否在初始化配置时打印版本字符画 |
|||
isV: false |
|||
#token前缀, 格式样例(satoken: Bearer xxxx-xxxx-xxxx-xxxx) 参考:token前缀 |
|||
tokenPrefix: water |
|||
# 是否打开自动续签 (如果此值为true, 框架会在每次直接或间接调用getLoginId()时进行一次过期检查与续签操作) |
|||
autoRenew: true |
|||
#是否尝试从header里读取token |
|||
isReadHead: true |
|||
#mybatis-plus配置 |
|||
mybatis-plus: |
|||
configuration: |
|||
#下划线驼峰命名 |
|||
map-underscore-to-camel-case: true |
|||
auto-mapping-behavior: full |
|||
#开启日志打印 |
|||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
|||
#配置Mapper映射文件 |
|||
mapper-locations: classpath*:mapper/**/*Mapper.xml |
|||
type-aliases-package: com.kms.**.domain |
|||
|
|||
# Swagger配置 |
|||
swagger: |
|||
# 是否开启swagger |
|||
enabled: true |
|||
# 请求前缀 |
|||
pathMapping: / |
|||
# 防止XSS攻击 |
|||
xss: |
|||
# 过滤开关 |
|||
enabled: true |
|||
# 排除链接(多个用逗号分隔) |
|||
excludes: /system/notice/* |
|||
# 匹配链接 |
|||
urlPatterns: /system/*,/monitor/*,/tool/* |
|||
fdfs: |
|||
soTimeout: 1500 |
|||
connectTimeout: 600 |
|||
thumbImage: #缩略图生成参数 |
|||
width: 150 |
|||
height: 150 |
|||
#预览的地址 |
|||
showFileUrl: 192.168.1.20:9080 |
|||
#使用的是http 还是https |
|||
urlAgreement: http |
|||
trackerList: #TrackerList参数,支持多个 |
|||
- 192.168.1.20:22122 |
|||
ignored: |
|||
/v2/*,/favicon.ico,/swagger-resources/**,/druid/**,/swagger-ui.html,/webjars/**, |
|||
/app/login,/initTnt/**, |
|||
/doc.html, |
|||
/chunk/*, |
|||
/error, |
|||
/login, |
|||
/captchaImage, |
|||
/system/file/**, |
|||
/system/user/exportExcel, |
|||
/system/kaptcha/render, |
|||
/test/** |
|||
# http请求连接池 |
|||
http: |
|||
pool: |
|||
# 连接超时 |
|||
connectTimeout: 5000000 |
|||
connectionRequestTimeout: 5000000 |
|||
defaultMaxPerRoute: 20 |
|||
# 最大连接数 |
|||
maxTotal: 100 |
|||
# 服务器返回数据(response)的时间 |
|||
socketTimeout: 5000000 |
|||
validateAfterInactivity: 5000000 |
|||
#算法配置 |
|||
algorithm: |
|||
#图片ocr服务 |
|||
entity: http://192.168.0.14:17856/analyze_text |
|||
# 自动打抽取摘要 |
|||
summary: http://192.168.0.210:12343 |
|||
ocr: http://192.168.0.62:12340/ExtractServer?WSDL |
@ -1,59 +0,0 @@ |
|||
# 数据源配置 |
|||
spring: |
|||
datasource: |
|||
type: com.alibaba.druid.pool.DruidDataSource |
|||
# driverClassName: com.mysql.jdbc.Driver |
|||
driverClassName: org.gjt.mm.mysql.Driver |
|||
druid: |
|||
# 主库数据源 |
|||
master: |
|||
url: jdbc:mysql://192.168.12.20:23306/tianhui_lyj1?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8 |
|||
username: root |
|||
password: 123456 |
|||
# 从库数据源 |
|||
slave: |
|||
# 从数据源开关/默认关闭 |
|||
enabled: false |
|||
url: |
|||
username: |
|||
password: |
|||
# 初始连接数 |
|||
initialSize: 5 |
|||
# 最小连接池数量 |
|||
minIdle: 10 |
|||
# 最大连接池数量 |
|||
maxActive: 20 |
|||
# 配置获取连接等待超时的时间 |
|||
maxWait: 60000 |
|||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 |
|||
timeBetweenEvictionRunsMillis: 60000 |
|||
# 配置一个连接在池中最小生存的时间,单位是毫秒 |
|||
minEvictableIdleTimeMillis: 300000 |
|||
# 配置一个连接在池中最大生存的时间,单位是毫秒 |
|||
maxEvictableIdleTimeMillis: 900000 |
|||
# 配置检测连接是否有效 |
|||
validationQuery: SELECT 1 FROM DUAL |
|||
testWhileIdle: true |
|||
testOnBorrow: false |
|||
testOnReturn: false |
|||
webStatFilter: |
|||
enabled: true |
|||
statViewServlet: |
|||
enabled: true |
|||
# 设置白名单,不填则允许所有访问 |
|||
allow: |
|||
url-pattern: /druid/* |
|||
# 控制台管理用户名和密码 |
|||
login-username: |
|||
login-password: |
|||
filter: |
|||
stat: |
|||
enabled: true |
|||
# 慢SQL记录 |
|||
log-slow-sql: true |
|||
slow-sql-millis: 1000 |
|||
merge-sql: true |
|||
wall: |
|||
config: |
|||
multi-statement-allow: true |
|||
|
@ -1,59 +0,0 @@ |
|||
# 数据源配置 |
|||
spring: |
|||
datasource: |
|||
type: com.alibaba.druid.pool.DruidDataSource |
|||
driverClassName: com.mysql.jdbc.Driver |
|||
# driverClassName: org.gjt.mm.mysql.Driver |
|||
druid: |
|||
# 主库数据源 |
|||
master: |
|||
url: jdbc:mysql://rm-7xv36ek6qb84h9utmfo.mysql.rds.aliyuncs.com:3333/ruoyi_mybatisplus?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8 |
|||
username: shuili |
|||
password: wuxukgdvJ1!@! |
|||
# 从库数据源 |
|||
slave: |
|||
# 从数据源开关/默认关闭 |
|||
enabled: false |
|||
url: |
|||
username: |
|||
password: |
|||
# 初始连接数 |
|||
initialSize: 5 |
|||
# 最小连接池数量 |
|||
minIdle: 10 |
|||
# 最大连接池数量 |
|||
maxActive: 20 |
|||
# 配置获取连接等待超时的时间 |
|||
maxWait: 60000 |
|||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 |
|||
timeBetweenEvictionRunsMillis: 60000 |
|||
# 配置一个连接在池中最小生存的时间,单位是毫秒 |
|||
minEvictableIdleTimeMillis: 300000 |
|||
# 配置一个连接在池中最大生存的时间,单位是毫秒 |
|||
maxEvictableIdleTimeMillis: 900000 |
|||
# 配置检测连接是否有效 |
|||
validationQuery: SELECT 1 FROM DUAL |
|||
testWhileIdle: true |
|||
testOnBorrow: false |
|||
testOnReturn: false |
|||
webStatFilter: |
|||
enabled: true |
|||
statViewServlet: |
|||
enabled: true |
|||
# 设置白名单,不填则允许所有访问 |
|||
allow: |
|||
url-pattern: /druid/* |
|||
# 控制台管理用户名和密码 |
|||
login-username: |
|||
login-password: |
|||
filter: |
|||
stat: |
|||
enabled: true |
|||
# 慢SQL记录 |
|||
log-slow-sql: true |
|||
slow-sql-millis: 1000 |
|||
merge-sql: true |
|||
wall: |
|||
config: |
|||
multi-statement-allow: true |
|||
|
@ -1,59 +0,0 @@ |
|||
# 数据源配置 |
|||
spring: |
|||
datasource: |
|||
type: com.alibaba.druid.pool.DruidDataSource |
|||
# driverClassName: com.mysql.jdbc.Driver |
|||
driverClassName: org.gjt.mm.mysql.Driver |
|||
druid: |
|||
# 主库数据源 |
|||
master: |
|||
url: jdbc:mysql://192.168.101.61:13306/tianhui_chonggou?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8 |
|||
username: root |
|||
password: 123456 |
|||
# 从库数据源 |
|||
slave: |
|||
# 从数据源开关/默认关闭 |
|||
enabled: false |
|||
url: |
|||
username: |
|||
password: |
|||
# 初始连接数 |
|||
initialSize: 5 |
|||
# 最小连接池数量 |
|||
minIdle: 10 |
|||
# 最大连接池数量 |
|||
maxActive: 20 |
|||
# 配置获取连接等待超时的时间 |
|||
maxWait: 60000 |
|||
# 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 |
|||
timeBetweenEvictionRunsMillis: 60000 |
|||
# 配置一个连接在池中最小生存的时间,单位是毫秒 |
|||
minEvictableIdleTimeMillis: 300000 |
|||
# 配置一个连接在池中最大生存的时间,单位是毫秒 |
|||
maxEvictableIdleTimeMillis: 900000 |
|||
# 配置检测连接是否有效 |
|||
validationQuery: SELECT 1 FROM DUAL |
|||
testWhileIdle: true |
|||
testOnBorrow: false |
|||
testOnReturn: false |
|||
webStatFilter: |
|||
enabled: true |
|||
statViewServlet: |
|||
enabled: true |
|||
# 设置白名单,不填则允许所有访问 |
|||
allow: |
|||
url-pattern: /druid/* |
|||
# 控制台管理用户名和密码 |
|||
login-username: |
|||
login-password: |
|||
filter: |
|||
stat: |
|||
enabled: true |
|||
# 慢SQL记录 |
|||
log-slow-sql: true |
|||
slow-sql-millis: 1000 |
|||
merge-sql: true |
|||
wall: |
|||
config: |
|||
multi-statement-allow: true |
|||
|
@ -1,249 +0,0 @@ |
|||
# 项目相关配置 |
|||
shuili: |
|||
# 名称 |
|||
name: 天汇重构01 |
|||
#系统别名 英文/汉语拼音 做缓存的前缀 每个模块的配置必须一样 |
|||
nameKey: tianhui_cg |
|||
# 版本 |
|||
version: 1.0 |
|||
# 版权年份 |
|||
copyrightYear: 2023 |
|||
# 实例演示开关 |
|||
demoEnabled: true |
|||
# 临时文件地址 |
|||
# profile: /home/project/tianhui-chonggou |
|||
profile: E:/tianhui |
|||
# 获取ip地址开关 |
|||
addressEnabled: false |
|||
# 验证码类型 math 数组计算 char 字符验证 |
|||
captchaType: math |
|||
#数据库配置 参考枚举类DbType |
|||
dbType: mysql |
|||
#初始话数据的位置 |
|||
initData: /home/project/tianhui-chonggou/data |
|||
init: true |
|||
#上传类型 |
|||
uploadType: disk |
|||
#neo4j的一个from |
|||
database: tianhui_cg |
|||
# 开发环境配置 |
|||
server: |
|||
# 服务器的HTTP端口,默认为8080 |
|||
port: 18082 |
|||
servlet: |
|||
# 应用的访问路径 |
|||
context-path: /tianhui-admin-web |
|||
tomcat: |
|||
# tomcat的URI编码 |
|||
uri-encoding: UTF-8 |
|||
# tomcat最大线程数,默认为200 |
|||
max-threads: 800 |
|||
# Tomcat启动初始化的线程数,默认值25 |
|||
min-spare-threads: 30 |
|||
# 日志配置 |
|||
logging: |
|||
level: |
|||
com.kms: debug |
|||
org.springframework: warn |
|||
#thrift: |
|||
# host: 192.168.0.61 |
|||
# port: 9710 |
|||
# timeOut: 60000 |
|||
# maxActive: 20000 |
|||
# max-total: 50 |
|||
# max-idle: 10 |
|||
# min-idle: 5 |
|||
# max-wait-millis: 200 |
|||
# indexName: tianhui_cg |
|||
# indexType: doc |
|||
# esEntity: com.kms.system.es.EsEntity |
|||
# Spring配置 |
|||
spring: |
|||
# kafka: |
|||
# autoStartup: false |
|||
# topics: tianhui |
|||
# # kafka信息 http://182.92.86.163:9092/ |
|||
# bootstrap-servers: 106.2.224.58:8021 |
|||
# #bootstrap-servers: 182.92.86.163:9092 |
|||
# producer: # 生产者配置 |
|||
# retries: 3 # 设置大于0的值,则客户端会将发送失败的记录重新发送 |
|||
# batch-size: 33554432 #32M |
|||
# buffer-memory: 33554432 #32M |
|||
# acks: 1 |
|||
# # 指定消息key和消息体的编解码方式 |
|||
# key-serializer: org.apache.kafka.common.serialization.StringSerializer |
|||
# value-serializer: org.apache.kafka.common.serialization.StringSerializer |
|||
# consumer: |
|||
# session: |
|||
# timeout: 200000000 # 链接超时时间 |
|||
# group-id: shuilikeji # 消费者组 |
|||
# enable-auto-commit: false # 关闭自动提交 |
|||
# auto-offset-reset: earliest # 当各分区下有已提交的offset时,从提交的offset开始消费;无提交的offset时,从头开始消费 |
|||
# key-deserializer: org.apache.kafka.common.serialization.StringDeserializer |
|||
# value-deserializer: org.apache.kafka.common.serialization.StringDeserializer |
|||
# listener: |
|||
# # 当每一条记录被消费者监听器(ListenerConsumer)处理之后提交 |
|||
# # RECORD |
|||
# # 当每一批poll()的数据被消费者监听器(ListenerConsumer)处理之后提交 |
|||
# # BATCH |
|||
# # 当每一批poll()的数据被消费者监听器(ListenerConsumer)处理之后,距离上次提交时间大于TIME时提交 |
|||
# # TIME |
|||
# # 当每一批poll()的数据被消费者监听器(ListenerConsumer)处理之后,被处理record数量大于等于COUNT时提交 |
|||
# # COUNT |
|||
# # TIME | COUNT 有一个条件满足时提交 |
|||
# # COUNT_TIME |
|||
# # 当每一批poll()的数据被消费者监听器(ListenerConsumer)处理之后, 手动调用Acknowledgment.acknowledge()后提交 |
|||
# # MANUAL |
|||
# # 手动调用Acknowledgment.acknowledge()后立即提交,一般使用这种 |
|||
# # MANUAL_IMMEDIATE |
|||
# ack-mode: manual_immediate |
|||
# data: |
|||
# neo4j: |
|||
# uri: bolt://192.168.0.61:7687 |
|||
# username: neo4j |
|||
# password: password |
|||
# mongodb: |
|||
# uri: mongodb://192.168.0.61:27017/tianhui_cg |
|||
# field-naming-strategy: org.springframework.data.mapping.model.SnakeCaseFieldNamingStrategy |
|||
# 资源信息 |
|||
messages: |
|||
# 国际化资源文件路径 |
|||
basename: i18n/messages |
|||
profiles: |
|||
active: druid-test |
|||
session: |
|||
store-type: redis |
|||
redis: |
|||
flush-mode: immediate |
|||
# 文件上传 |
|||
servlet: |
|||
multipart: |
|||
# 单个文件大小 |
|||
max-file-size: 1000MB |
|||
# 设置总上传的文件大小 |
|||
max-request-size: 20000MB |
|||
# 服务模块 |
|||
devtools: |
|||
restart: |
|||
# 热部署开关 |
|||
enabled: true |
|||
# redis 配置 |
|||
redis: |
|||
# 地址 |
|||
host: 127.0.0.1 |
|||
# cluster: |
|||
# nodes: 192.168.1.20:7001,192.168.1.20:7002,192.168.1.20:7003,192.168.1.20:7004,192.168.1.20:7005,192.168.1.20:7006 |
|||
# max-redirects: 3 |
|||
# 端口,默认为6379 |
|||
port: 6379 |
|||
# 密码 |
|||
password: |
|||
# 连接超时时间 |
|||
timeout: 10s |
|||
lettuce: |
|||
pool: |
|||
# 连接池中的最小空闲连接 |
|||
min-idle: 16 |
|||
# 连接池中的最大空闲连接 |
|||
max-idle: 32 |
|||
# 连接池的最大数据库连接数 |
|||
max-active: 8 |
|||
# #连接池最大阻塞等待时间(使用负值表示没有限制) |
|||
max-wait: -1ms |
|||
# password: password |
|||
sa-token: |
|||
# token名称 (同时也是cookie名称) |
|||
token-name: shuili |
|||
# token有效期,单位s 默认30天, -1代表永不过期 |
|||
timeout: -1 |
|||
# token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒 |
|||
activity-timeout: 1800 |
|||
# 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录) |
|||
is-concurrent: true |
|||
# 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token) |
|||
is-share: false |
|||
# token风格 |
|||
token-style: uuid |
|||
# 是否输出操作日志 |
|||
is-log: true |
|||
isReadCookie: false |
|||
tokenSessionCheckLogin: false |
|||
#是否在初始化配置时打印版本字符画 |
|||
isV: false |
|||
#token前缀, 格式样例(satoken: Bearer xxxx-xxxx-xxxx-xxxx) 参考:token前缀 |
|||
tokenPrefix: water |
|||
# 是否打开自动续签 (如果此值为true, 框架会在每次直接或间接调用getLoginId()时进行一次过期检查与续签操作) |
|||
autoRenew: true |
|||
#是否尝试从header里读取token |
|||
isReadHead: true |
|||
#mybatis-plus配置 |
|||
mybatis-plus: |
|||
configuration: |
|||
#下划线驼峰命名 |
|||
map-underscore-to-camel-case: true |
|||
auto-mapping-behavior: full |
|||
#开启日志打印 |
|||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
|||
#配置Mapper映射文件 |
|||
mapper-locations: classpath*:mapper/**/*Mapper.xml |
|||
type-aliases-package: com.kms.**.domain |
|||
|
|||
# Swagger配置 |
|||
swagger: |
|||
# 是否开启swagger |
|||
enabled: true |
|||
# 请求前缀 |
|||
pathMapping: / |
|||
# 防止XSS攻击 |
|||
xss: |
|||
# 过滤开关 |
|||
enabled: true |
|||
# 排除链接(多个用逗号分隔) |
|||
excludes: /system/notice/* |
|||
# 匹配链接 |
|||
urlPatterns: /system/*,/monitor/*,/tool/* |
|||
fdfs: |
|||
soTimeout: 1500 |
|||
connectTimeout: 600 |
|||
thumbImage: #缩略图生成参数 |
|||
width: 150 |
|||
height: 150 |
|||
#预览的地址 |
|||
showFileUrl: 192.168.0.61:8888 |
|||
#使用的是http 还是https |
|||
urlAgreement: http |
|||
trackerList: #TrackerList参数,支持多个 |
|||
- 192.168.0.61:22122 |
|||
ignored: |
|||
/v2/*,/favicon.ico,/swagger-resources/**,/druid/**,/swagger-ui.html,/webjars/**, |
|||
/app/login, |
|||
/doc.html, |
|||
/chunk/*, |
|||
/error, |
|||
/login, |
|||
/captchaImage, |
|||
/system/file/**, |
|||
/system/user/exportExcel, |
|||
/system/kaptcha/render, |
|||
/test/** |
|||
# http请求连接池 |
|||
http: |
|||
pool: |
|||
# 连接超时 |
|||
connectTimeout: 5000000 |
|||
connectionRequestTimeout: 5000000 |
|||
defaultMaxPerRoute: 20 |
|||
# 最大连接数 |
|||
maxTotal: 100 |
|||
# 服务器返回数据(response)的时间 |
|||
socketTimeout: 5000000 |
|||
validateAfterInactivity: 300000 |
|||
#算法配置 |
|||
#algorithm: |
|||
# #图片ocr服务 |
|||
# entity: http://192.168.0.14:17856/analyze_text |
|||
# # 自动打抽取摘要 |
|||
# summary: http://192.168.0.210:12343 |
|||
# ocr: http://192.168.0.62:12340/ExtractServer?WSDL |
|||
# #内容是文件类型识别 |
|||
# fielTypeAndContent: http://192.168.0.42:8089/detect |
@ -1,244 +0,0 @@ |
|||
# 项目相关配置 |
|||
shuili: |
|||
# 名称 |
|||
name: 天汇重构 |
|||
#系统别名 英文/汉语拼音 做缓存的前缀 每个模块的配置必须一样 |
|||
nameKey: tianhui_chonggou |
|||
# 版本 |
|||
version: 1.0 |
|||
# 版权年份 |
|||
copyrightYear: 2023 |
|||
# 实例演示开关 |
|||
demoEnabled: true |
|||
# 临时文件地址 |
|||
profile: E:/tianhui |
|||
# 获取ip地址开关 |
|||
addressEnabled: false |
|||
# 验证码类型 math 数组计算 char 字符验证 |
|||
captchaType: math |
|||
#数据库配置 参考枚举类DbType |
|||
dbType: mysql |
|||
#初始话数据的位置 |
|||
initData: E:\\199it |
|||
init: false |
|||
#neo4j的一个from |
|||
database: tianhui_chonggou |
|||
# 开发环境配置 |
|||
server: |
|||
# 服务器的HTTP端口,默认为8080 |
|||
port: 18080 |
|||
servlet: |
|||
# 应用的访问路径 |
|||
context-path: /tianhui-admin-web |
|||
tomcat: |
|||
# tomcat的URI编码 |
|||
uri-encoding: UTF-8 |
|||
# tomcat最大线程数,默认为200 |
|||
max-threads: 800 |
|||
# Tomcat启动初始化的线程数,默认值25 |
|||
min-spare-threads: 30 |
|||
# 日志配置 |
|||
logging: |
|||
level: |
|||
com.kms: debug |
|||
org.springframework: warn |
|||
thrift: |
|||
host: 192.168.0.61 |
|||
port: 9710 |
|||
timeOut: 60000 |
|||
maxActive: 20000 |
|||
max-total: 50 |
|||
max-idle: 10 |
|||
min-idle: 5 |
|||
max-wait-millis: 200 |
|||
indexName: tianhui-chonggou |
|||
indexType: doc |
|||
esEntity: com.kms.system.es.EsEntity |
|||
# Spring配置 |
|||
spring: |
|||
kafka: |
|||
autoStartup: true |
|||
topics: hangtian |
|||
# kafka信息 http://182.92.86.163:9092/ |
|||
bootstrap-servers: 106.2.224.58:8021 |
|||
#bootstrap-servers: 182.92.86.163:9092 |
|||
producer: # 生产者配置 |
|||
retries: 3 # 设置大于0的值,则客户端会将发送失败的记录重新发送 |
|||
batch-size: 33554432 #32M |
|||
buffer-memory: 33554432 #32M |
|||
acks: 1 |
|||
# 指定消息key和消息体的编解码方式 |
|||
key-serializer: org.apache.kafka.common.serialization.StringSerializer |
|||
value-serializer: org.apache.kafka.common.serialization.StringSerializer |
|||
consumer: |
|||
session: |
|||
timeout: 200000000 # 链接超时时间 |
|||
group-id: shuilikeji # 消费者组 |
|||
enable-auto-commit: false # 关闭自动提交 |
|||
auto-offset-reset: earliest # 当各分区下有已提交的offset时,从提交的offset开始消费;无提交的offset时,从头开始消费 |
|||
key-deserializer: org.apache.kafka.common.serialization.StringDeserializer |
|||
value-deserializer: org.apache.kafka.common.serialization.StringDeserializer |
|||
listener: |
|||
# 当每一条记录被消费者监听器(ListenerConsumer)处理之后提交 |
|||
# RECORD |
|||
# 当每一批poll()的数据被消费者监听器(ListenerConsumer)处理之后提交 |
|||
# BATCH |
|||
# 当每一批poll()的数据被消费者监听器(ListenerConsumer)处理之后,距离上次提交时间大于TIME时提交 |
|||
# TIME |
|||
# 当每一批poll()的数据被消费者监听器(ListenerConsumer)处理之后,被处理record数量大于等于COUNT时提交 |
|||
# COUNT |
|||
# TIME | COUNT 有一个条件满足时提交 |
|||
# COUNT_TIME |
|||
# 当每一批poll()的数据被消费者监听器(ListenerConsumer)处理之后, 手动调用Acknowledgment.acknowledge()后提交 |
|||
# MANUAL |
|||
# 手动调用Acknowledgment.acknowledge()后立即提交,一般使用这种 |
|||
# MANUAL_IMMEDIATE |
|||
ack-mode: manual_immediate |
|||
data: |
|||
neo4j: |
|||
uri: bolt://192.168.0.61:7687 |
|||
username: neo4j |
|||
password: password |
|||
mongodb: |
|||
uri: mongodb://192.168.0.61:27017/tianhui |
|||
field-naming-strategy: org.springframework.data.mapping.model.SnakeCaseFieldNamingStrategy |
|||
# 资源信息 |
|||
messages: |
|||
# 国际化资源文件路径 |
|||
basename: i18n/messages |
|||
profiles: |
|||
active: druid-zhishiku |
|||
session: |
|||
store-type: redis |
|||
redis: |
|||
flush-mode: immediate |
|||
# 文件上传 |
|||
servlet: |
|||
multipart: |
|||
# 单个文件大小 |
|||
max-file-size: 1000MB |
|||
# 设置总上传的文件大小 |
|||
max-request-size: 20000MB |
|||
# 服务模块 |
|||
devtools: |
|||
restart: |
|||
# 热部署开关 |
|||
enabled: true |
|||
# redis 配置 |
|||
redis: |
|||
# 地址 |
|||
host: 192.168.0.61 |
|||
# cluster: |
|||
# nodes: 192.168.1.20:7001,192.168.1.20:7002,192.168.1.20:7003,192.168.1.20:7004,192.168.1.20:7005,192.168.1.20:7006 |
|||
# max-redirects: 3 |
|||
# 端口,默认为6379 |
|||
port: 6379 |
|||
# 密码 |
|||
password: |
|||
# 连接超时时间 |
|||
timeout: 10s |
|||
lettuce: |
|||
pool: |
|||
# 连接池中的最小空闲连接 |
|||
min-idle: 16 |
|||
# 连接池中的最大空闲连接 |
|||
max-idle: 32 |
|||
# 连接池的最大数据库连接数 |
|||
max-active: 8 |
|||
# #连接池最大阻塞等待时间(使用负值表示没有限制) |
|||
max-wait: -1ms |
|||
# password: password |
|||
sa-token: |
|||
# token名称 (同时也是cookie名称) |
|||
token-name: shuili |
|||
# token有效期,单位s 默认30天, -1代表永不过期 |
|||
timeout: -1 |
|||
# token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒 |
|||
activity-timeout: 1800 |
|||
# 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录) |
|||
is-concurrent: true |
|||
# 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token) |
|||
is-share: false |
|||
# token风格 |
|||
token-style: uuid |
|||
# 是否输出操作日志 |
|||
is-log: true |
|||
isReadCookie: false |
|||
tokenSessionCheckLogin: false |
|||
#是否在初始化配置时打印版本字符画 |
|||
isV: false |
|||
#token前缀, 格式样例(satoken: Bearer xxxx-xxxx-xxxx-xxxx) 参考:token前缀 |
|||
tokenPrefix: water |
|||
# 是否打开自动续签 (如果此值为true, 框架会在每次直接或间接调用getLoginId()时进行一次过期检查与续签操作) |
|||
autoRenew: true |
|||
#是否尝试从header里读取token |
|||
isReadHead: true |
|||
#mybatis-plus配置 |
|||
mybatis-plus: |
|||
configuration: |
|||
#下划线驼峰命名 |
|||
map-underscore-to-camel-case: true |
|||
auto-mapping-behavior: full |
|||
#开启日志打印 |
|||
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl |
|||
#配置Mapper映射文件 |
|||
mapper-locations: classpath*:mapper/**/*Mapper.xml |
|||
type-aliases-package: com.kms.**.domain |
|||
|
|||
# Swagger配置 |
|||
swagger: |
|||
# 是否开启swagger |
|||
enabled: true |
|||
# 请求前缀 |
|||
pathMapping: / |
|||
# 防止XSS攻击 |
|||
xss: |
|||
# 过滤开关 |
|||
enabled: true |
|||
# 排除链接(多个用逗号分隔) |
|||
excludes: /system/notice/* |
|||
# 匹配链接 |
|||
urlPatterns: /system/*,/monitor/*,/tool/* |
|||
fdfs: |
|||
soTimeout: 1500 |
|||
connectTimeout: 600 |
|||
thumbImage: #缩略图生成参数 |
|||
width: 150 |
|||
height: 150 |
|||
#预览的地址 |
|||
showFileUrl: 192.168.61:8888 |
|||
#使用的是http 还是https |
|||
urlAgreement: http |
|||
trackerList: #TrackerList参数,支持多个 |
|||
- 192.168.0.61:22122 |
|||
ignored: |
|||
/v2/*,/favicon.ico,/swagger-resources/**,/druid/**,/swagger-ui.html,/webjars/**, |
|||
/app/login, |
|||
/doc.html, |
|||
/chunk/*, |
|||
/error, |
|||
/login, |
|||
/captchaImage, |
|||
/system/file/**, |
|||
/system/user/exportExcel, |
|||
/system/kaptcha/render, |
|||
/test/** |
|||
# http请求连接池 |
|||
http: |
|||
pool: |
|||
# 连接超时 |
|||
connectTimeout: 5000000 |
|||
connectionRequestTimeout: 5000000 |
|||
defaultMaxPerRoute: 20 |
|||
# 最大连接数 |
|||
maxTotal: 100 |
|||
# 服务器返回数据(response)的时间 |
|||
socketTimeout: 5000000 |
|||
validateAfterInactivity: 5000000 |
|||
#算法配置 |
|||
algorithm: |
|||
#图片ocr服务 |
|||
entity: http://192.168.0.14:17856/analyze_text |
|||
# 自动打抽取摘要 |
|||
summary: http://192.168.0.210:12343 |
|||
ocr: http://192.168.0.62:12340/ExtractServer?WSDL |
@ -1,5 +0,0 @@ |
|||
spring: |
|||
profiles: |
|||
# include: dev,druid-dev |
|||
include: test,druid-test |
|||
# include: zhishiku,druid-zhishiku |
@ -1,24 +0,0 @@ |
|||
Application Version: ${kms.version} |
|||
Spring Boot Version: ${spring-boot.version} |
|||
//////////////////////////////////////////////////////////////////// |
|||
// _ooOoo_ // |
|||
// o8888888o // |
|||
// 88" . "88 // |
|||
// (| ^_^ |) // |
|||
// O\ = /O // |
|||
// ____/`---'\____ // |
|||
// .' \\| |// `. // |
|||
// / \\||| : |||// \ // |
|||
// / _||||| -:- |||||- \ // |
|||
// | | \\\ - /// | | // |
|||
// | \_| ''\---/'' | | // |
|||
// \ .-\__ `-` ___/-. / // |
|||
// ___`. .' /--.--\ `. . ___ // |
|||
// ."" '< `.___\_<|>_/___.' >'"". // |
|||
// | | : `- \`.;`\ _ /`;.`/ - ` : | | // |
|||
// \ \ `-. \_ __\ /__ _/ .-` / / // |
|||
// ========`-.____`-.___\_____/___.-`____.-'======== // |
|||
// `=---=' // |
|||
// ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ // |
|||
// 佛祖保佑 永不宕机 永无BUG // |
|||
//////////////////////////////////////////////////////////////////// |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,36 +0,0 @@ |
|||
#错误消息 |
|||
not.null=* 必须填写 |
|||
user.jcaptcha.error=验证码错误 |
|||
user.jcaptcha.expire=验证码已失效 |
|||
user.not.exists=用户不存在/密码错误 |
|||
user.password.not.match=用户不存在/密码错误 |
|||
user.password.retry.limit.count=密码输入错误{0}次 |
|||
user.password.retry.limit.exceed=密码输入错误{0}次,帐户锁定10分钟 |
|||
user.password.delete=对不起,您的账号已被删除 |
|||
user.blocked=用户已封禁,请联系管理员 |
|||
role.blocked=角色已封禁,请联系管理员 |
|||
user.logout.success=退出成功 |
|||
|
|||
length.not.valid=长度必须在{min}到{max}个字符之间 |
|||
|
|||
user.username.not.valid=* 2到20个汉字、字母、数字或下划线组成,且必须以非数字开头 |
|||
user.password.not.valid=* 5-50个字符 |
|||
|
|||
user.email.not.valid=邮箱格式错误 |
|||
user.mobile.phone.number.not.valid=手机号格式错误 |
|||
user.login.success=登录成功 |
|||
user.notfound=请重新登录 |
|||
user.forcelogout=管理员强制退出,请重新登录 |
|||
user.unknown.error=未知错误,请重新登录 |
|||
|
|||
##文件上传消息 |
|||
upload.exceed.maxSize=上传的文件大小超出限制的文件大小!<br/>允许的文件最大大小是:{0}MB! |
|||
upload.filename.exceed.length=上传的文件名最长{0}个字符 |
|||
|
|||
##权限 |
|||
no.permission=您没有数据的权限,请联系管理员添加权限 [{0}] |
|||
no.create.permission=您没有创建数据的权限,请联系管理员添加权限 [{0}] |
|||
no.update.permission=您没有修改数据的权限,请联系管理员添加权限 [{0}] |
|||
no.delete.permission=您没有删除数据的权限,请联系管理员添加权限 [{0}] |
|||
no.export.permission=您没有导出数据的权限,请联系管理员添加权限 [{0}] |
|||
no.view.permission=您没有查看数据的权限,请联系管理员添加权限 [{0}] |
@ -1,93 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<configuration> |
|||
<!-- 日志存放路径 --> |
|||
<property name="log.path" value="/home/kms/logs" /> |
|||
<!-- 日志输出格式 --> |
|||
<property name="log.pattern" value="%d{HH:mm:ss.SSS} [%thread] %-5level %logger{20} - [%method,%line] - %msg%n" /> |
|||
|
|||
<!-- 控制台输出 --> |
|||
<appender name="console" class="ch.qos.logback.core.ConsoleAppender"> |
|||
<encoder> |
|||
<pattern>${log.pattern}</pattern> |
|||
</encoder> |
|||
</appender> |
|||
|
|||
<!-- 系统日志输出 --> |
|||
<appender name="file_info" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|||
<file>${log.path}/sys-info.log</file> |
|||
<!-- 循环政策:基于时间创建日志文件 --> |
|||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
|||
<!-- 日志文件名格式 --> |
|||
<fileNamePattern>${log.path}/sys-info.%d{yyyy-MM-dd}.log</fileNamePattern> |
|||
<!-- 日志最大的历史 60天 --> |
|||
<maxHistory>60</maxHistory> |
|||
</rollingPolicy> |
|||
<encoder> |
|||
<pattern>${log.pattern}</pattern> |
|||
</encoder> |
|||
<filter class="ch.qos.logback.classic.filter.LevelFilter"> |
|||
<!-- 过滤的级别 --> |
|||
<level>INFO</level> |
|||
<!-- 匹配时的操作:接收(记录) --> |
|||
<onMatch>ACCEPT</onMatch> |
|||
<!-- 不匹配时的操作:拒绝(不记录) --> |
|||
<onMismatch>DENY</onMismatch> |
|||
</filter> |
|||
</appender> |
|||
|
|||
<appender name="file_error" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|||
<file>${log.path}/sys-error.log</file> |
|||
<!-- 循环政策:基于时间创建日志文件 --> |
|||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
|||
<!-- 日志文件名格式 --> |
|||
<fileNamePattern>${log.path}/sys-error.%d{yyyy-MM-dd}.log</fileNamePattern> |
|||
<!-- 日志最大的历史 60天 --> |
|||
<maxHistory>60</maxHistory> |
|||
</rollingPolicy> |
|||
<encoder> |
|||
<pattern>${log.pattern}</pattern> |
|||
</encoder> |
|||
<filter class="ch.qos.logback.classic.filter.LevelFilter"> |
|||
<!-- 过滤的级别 --> |
|||
<level>ERROR</level> |
|||
<!-- 匹配时的操作:接收(记录) --> |
|||
<onMatch>ACCEPT</onMatch> |
|||
<!-- 不匹配时的操作:拒绝(不记录) --> |
|||
<onMismatch>DENY</onMismatch> |
|||
</filter> |
|||
</appender> |
|||
|
|||
<!-- 用户访问日志输出 --> |
|||
<appender name="sys-user" class="ch.qos.logback.core.rolling.RollingFileAppender"> |
|||
<file>${log.path}/sys-user.log</file> |
|||
<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy"> |
|||
<!-- 按天回滚 daily --> |
|||
<fileNamePattern>${log.path}/sys-user.%d{yyyy-MM-dd}.log</fileNamePattern> |
|||
<!-- 日志最大的历史 60天 --> |
|||
<maxHistory>60</maxHistory> |
|||
</rollingPolicy> |
|||
<encoder> |
|||
<pattern>${log.pattern}</pattern> |
|||
</encoder> |
|||
</appender> |
|||
|
|||
<!-- 系统模块日志级别控制 --> |
|||
<logger name="com.kms" level="info" /> |
|||
<!-- Spring日志级别控制 --> |
|||
<logger name="org.springframework" level="warn" /> |
|||
|
|||
<root level="debug"> |
|||
<appender-ref ref="console" /> |
|||
</root> |
|||
|
|||
<!--系统操作日志--> |
|||
<root level="info"> |
|||
<appender-ref ref="file_info" /> |
|||
<appender-ref ref="file_error" /> |
|||
</root> |
|||
|
|||
<!--系统用户操作日志--> |
|||
<logger name="sys-user" level="info"> |
|||
<appender-ref ref="sys-user"/> |
|||
</logger> |
|||
</configuration> |
@ -1,15 +0,0 @@ |
|||
<?xml version="1.0" encoding="UTF-8" ?> |
|||
<!DOCTYPE configuration |
|||
PUBLIC "-//mybatis.org//DTD Config 3.0//EN" |
|||
"http://mybatis.org/dtd/mybatis-3-config.dtd"> |
|||
<configuration> |
|||
|
|||
<settings> |
|||
<setting name="cacheEnabled" value="true" /> <!-- 全局映射器启用缓存 --> |
|||
<setting name="useGeneratedKeys" value="true" /> <!-- 允许 JDBC 支持自动生成主键 --> |
|||
<setting name="defaultExecutorType" value="REUSE" /> <!-- 配置默认的执行器 --> |
|||
<setting name="logImpl" value="SLF4J" /> <!-- 指定 MyBatis 所用日志的具体实现 --> |
|||
<!-- <setting name="mapUnderscoreToCamelCase" value="true"/> 驼峰式命名 --> |
|||
</settings> |
|||
|
|||
</configuration> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue