feat(知识库): 增加知识库模块

This commit is contained in:
ageer
2025-03-02 11:19:29 +08:00
parent 04f579d033
commit 1385b165c9
1421 changed files with 166583 additions and 64636 deletions

View File

@@ -0,0 +1,7 @@
jdbcUrl = ${pro.jdbc.agent.url}
user = ${pro.jdbc.agent.username}
password = ${pro.jdbc.agent.password}
devMode = ${pro.devMode}
hotReloadDir = ${pro.hotreload.realpath}
download_path = ${pro.download.path}
log_path = ${log.file.path}

View File

@@ -0,0 +1 @@
wxwobot = C9ah2BEPliU2EzPV/VAn9Q==

View File

@@ -0,0 +1,51 @@
# 配置 undertow
undertow.devMode=${pro.undertow.devMode}
undertow.host=${pro.domain.host}
undertow.port=${pro.domain.port}
undertow.contextPath=/
undertow.resourcePath=webapp, io.wxwobot.admin/src/main/webapp, src/main/webapp
# 开启 gzip 压缩
undertow.gzip.enable=true
# 配置压缩级别,默认值 -1。 可配置 1 到 9。 1 拥有最快压缩速度9 拥有最高压缩率
undertow.gzip.level=-1
# 触发压缩的最小内容长度
undertow.gzip.minLength=1024
# session 过期时间,注意单位是秒
undertow.session.timeout=1800
# 支持 session 热加载,避免依赖于 session 的登录型项目反复登录,默认值为 true。仅用于 devMode生产环境无影响
undertow.session.hotSwap=true
# 下面两行命令生成密钥库
# keytool -genkeypair -validity 3650 -alias club -keyalg RSA -keystore club.jks
# keytool -importkeystore -srckeystore club.jks -destkeystore club.pfx -deststoretype PKCS12
# 生成过程中提示输入 "名字与姓氏" 时输入 localhost。生产环境从阿里云下载 tomcat 类型的密钥库
#
# 更详细的 https/ssl 配置见 jfinal 官方文档 http://www.jfinal.com/doc/1-4
#
# 是否开启 ssl
undertow.ssl.enable=false
# ssl 监听端口号,部署环境设置为 443
undertow.ssl.port=443
# 密钥库类型,建议使用 PKCS12
undertow.ssl.keyStoreType=PKCS12
# 密钥库文件
undertow.ssl.keyStore=demo.pfx
# 密钥库密码
undertow.ssl.keyStorePassword=111111
# ssl 开启时,是否开启 http2。检测该配置是否生效在 chrome 地址栏中输入: chrome://net-internals/#http2
undertow.http2.enable=true
# ssl 开启时http 请求是否重定向到 https
# undertow.http.toHttps=false
# ssl 开启时,是否关闭 http
# undertow.http.disable=false