2023-09-21 15:30:19 +08:00
|
|
|
|
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
#========== Project settings ==========#
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
|
|
|
|
|
|
# 产品或项目名称、软件开发公司名称
|
|
|
|
|
|
productName: JeeSite Demo
|
|
|
|
|
|
companyName: ThinkGem
|
|
|
|
|
|
|
|
|
|
|
|
# 产品版本、版权年份
|
2025-08-04 17:50:08 +08:00
|
|
|
|
productVersion: V5.13
|
2024-12-30 14:52:10 +08:00
|
|
|
|
copyrightYear: 2025
|
2023-09-21 15:30:19 +08:00
|
|
|
|
|
|
|
|
|
|
# 是否演示模式
|
|
|
|
|
|
demoMode: false
|
|
|
|
|
|
|
|
|
|
|
|
# 专为分离端提供接口服务
|
|
|
|
|
|
apiMode: false
|
|
|
|
|
|
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
#========== Server settings ===========#
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
|
|
|
|
|
|
server:
|
|
|
|
|
|
|
|
|
|
|
|
port: 8980
|
|
|
|
|
|
servlet:
|
|
|
|
|
|
context-path: /js
|
|
|
|
|
|
register-default-servlet: false
|
|
|
|
|
|
# encoding.enabled: true
|
|
|
|
|
|
tomcat:
|
|
|
|
|
|
uri-encoding: UTF-8
|
|
|
|
|
|
# 表单请求数据的最大大小
|
|
|
|
|
|
max-http-form-post-size: 20MB
|
2025-08-29 20:52:13 +08:00
|
|
|
|
# # 客户端发送请求参数个数限制
|
|
|
|
|
|
# max-parameter-count: 10000
|
|
|
|
|
|
# # 文件上传的表单请求参数个数限制
|
|
|
|
|
|
# max-part-count: 50
|
2023-09-21 15:30:19 +08:00
|
|
|
|
# # 进程的最大连接数
|
|
|
|
|
|
# max-connections: 8192
|
|
|
|
|
|
# # 连接数满后的排队个数
|
|
|
|
|
|
# accept-count: 100
|
|
|
|
|
|
# # 线程数最大和最小个数
|
|
|
|
|
|
# threads:
|
|
|
|
|
|
# max: 200
|
|
|
|
|
|
# min-spare: 10
|
|
|
|
|
|
|
|
|
|
|
|
# 当 Nginx 为 https,tomcat 为 http 时,设置该选项为 true
|
|
|
|
|
|
schemeHttps: false
|
|
|
|
|
|
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
#========== Database sttings ==========#
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
|
|
|
|
|
|
# 数据库连接(默认关闭,如果和 web.core.enabled 同时开启可使用如下功能:
|
|
|
|
|
|
# 配置参数:http://127.0.0.1:8980/js/a/sys/config/list
|
|
|
|
|
|
# 模块管理:http://127.0.0.1:8980/js/a/sys/module/list
|
|
|
|
|
|
# 字典管理:http://127.0.0.1:8980/js/a/sys/dictType/list
|
|
|
|
|
|
jdbc:
|
|
|
|
|
|
|
|
|
|
|
|
# # Mysql 数据库配置
|
|
|
|
|
|
# type: mysql
|
|
|
|
|
|
# driver: com.mysql.cj.jdbc.Driver
|
2024-12-25 10:30:54 +08:00
|
|
|
|
# url: jdbc:mysql://127.0.0.1:3306/jeesite_mini?useSSL=false&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=CONVERT_TO_NULL&serverTimezone=Asia/Shanghai
|
2023-09-21 15:30:19 +08:00
|
|
|
|
# username: root
|
|
|
|
|
|
# password: 123456
|
|
|
|
|
|
# testSql: SELECT 1
|
|
|
|
|
|
|
|
|
|
|
|
# 数据库连接池配置
|
|
|
|
|
|
pool:
|
|
|
|
|
|
|
|
|
|
|
|
# 初始化连接数
|
|
|
|
|
|
init: 1
|
|
|
|
|
|
# 最小连接数
|
|
|
|
|
|
minIdle: 3
|
|
|
|
|
|
# 最大连接数
|
|
|
|
|
|
maxActive: 20
|
|
|
|
|
|
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
#========== Framework settings ========#
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
|
|
|
|
|
|
|
# 应用程序名称
|
|
|
|
|
|
application:
|
2024-10-21 14:12:14 +08:00
|
|
|
|
name: jeesite-web-mini
|
2023-09-21 15:30:19 +08:00
|
|
|
|
|
|
|
|
|
|
# 环境名称(注意:不可设置为 test 它是单元测试专用的名称)
|
|
|
|
|
|
profiles:
|
|
|
|
|
|
active: default
|
|
|
|
|
|
|
|
|
|
|
|
# 打印横幅
|
|
|
|
|
|
main:
|
2025-10-09 16:53:44 +08:00
|
|
|
|
banner-mode: "off"
|
|
|
|
|
|
lazy-initialization: true
|
2023-09-21 15:30:19 +08:00
|
|
|
|
|
|
|
|
|
|
# MVC 映射匹配策略
|
|
|
|
|
|
mvc:
|
|
|
|
|
|
pathmatch:
|
|
|
|
|
|
matching-strategy: ANT_PATH_MATCHER
|
|
|
|
|
|
|
|
|
|
|
|
# JTA事务
|
|
|
|
|
|
jta:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 缓存配置
|
|
|
|
|
|
cache:
|
|
|
|
|
|
# 缓存及会话共享(专业版)
|
|
|
|
|
|
isClusterMode: false
|
|
|
|
|
|
|
|
|
|
|
|
# 日志配置
|
|
|
|
|
|
logging:
|
|
|
|
|
|
config: classpath:config/logback-spring.xml
|
2025-02-05 20:54:04 +08:00
|
|
|
|
|
|
|
|
|
|
# MyBatis 相关
|
|
|
|
|
|
mybatis:
|
|
|
|
|
|
|
|
|
|
|
|
# Mapper文件刷新线程
|
|
|
|
|
|
mapper:
|
|
|
|
|
|
refresh:
|
|
|
|
|
|
enabled: false
|
2023-09-21 15:30:19 +08:00
|
|
|
|
|
|
|
|
|
|
# 管理基础路径
|
|
|
|
|
|
adminPath: /a
|
|
|
|
|
|
|
|
|
|
|
|
# 前端基础路径
|
|
|
|
|
|
frontPath: /f
|
|
|
|
|
|
|
2023-11-16 10:22:45 +08:00
|
|
|
|
# 配置相关功能(参数、模块、字典)
|
|
|
|
|
|
config:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 用户权限相关(用户、角色、菜单)
|
2023-09-21 15:30:19 +08:00
|
|
|
|
user:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 国际化管理
|
|
|
|
|
|
lang:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 任务调度
|
|
|
|
|
|
job:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 代码生成
|
|
|
|
|
|
gen:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 系统监控(默认开启,可关闭)访问地址如下:
|
|
|
|
|
|
# 服务监控:http://127.0.0.1:8980/js/a/state/server/index
|
|
|
|
|
|
# 缓存监控:http://127.0.0.1:8980/js/a/state/cache/index
|
|
|
|
|
|
state:
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
|
|
|
|
|
|
# Web 相关
|
|
|
|
|
|
web:
|
|
|
|
|
|
|
|
|
|
|
|
# MVC拦截器(访问日志和手机视图)
|
|
|
|
|
|
interceptor:
|
|
|
|
|
|
log:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
mobile:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
|
|
# 是否启用核心内置功能的Controller加载
|
|
|
|
|
|
core:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
2025-09-30 16:25:29 +08:00
|
|
|
|
# 在线API文档
|
|
|
|
|
|
springdoc:
|
|
|
|
|
|
api-docs:
|
|
|
|
|
|
enabled: true
|
|
|
|
|
|
swagger-ui:
|
|
|
|
|
|
enabled: true
|
2023-09-21 15:30:19 +08:00
|
|
|
|
|
|
|
|
|
|
# 文件上传
|
|
|
|
|
|
file:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
isFileStreamDown: false
|
|
|
|
|
|
|
|
|
|
|
|
# 消息提醒中心
|
|
|
|
|
|
msg:
|
|
|
|
|
|
enabled: false
|
|
|
|
|
|
|
|
|
|
|
|
#======================================#
|
|
|
|
|
|
#========== Project settings ==========#
|
|
|
|
|
|
#======================================#
|