Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
N
new-project
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
binfast
new-project
Commits
8bacb454
Commit
8bacb454
authored
Oct 24, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into prod
parents
1b6efdad
c123887c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
46 additions
and
7 deletions
+46
-7
application-dev.yml
admin/src/main/resources/application-dev.yml
+4
-3
application.yml
admin/src/main/resources/application.yml
+40
-2
pom.xml
pom.xml
+2
-2
No files found.
admin/src/main/resources/application-dev.yml
View file @
8bacb454
...
@@ -22,9 +22,10 @@ spring:
...
@@ -22,9 +22,10 @@ spring:
file
:
classpath:redisson-dev.yml
file
:
classpath:redisson-dev.yml
logging
:
logging
:
level
:
level
:
# org.springframework.web: trace
top.binfast
:
info
org.springframework.security
:
trace
org.springframework
:
warn
org.springframework.security.oauth2
:
debug
org.mybatis.spring.mapper
:
error
org.apache.fury
:
warn
config
:
classpath:logback-spring-dev.xml
config
:
classpath:logback-spring-dev.xml
springdoc
:
springdoc
:
...
...
admin/src/main/resources/application.yml
View file @
8bacb454
...
@@ -4,19 +4,37 @@ server:
...
@@ -4,19 +4,37 @@ server:
context-path
:
/api
context-path
:
/api
# 开启优雅停机,默认值:immediate 为立即关闭
# 开启优雅停机,默认值:immediate 为立即关闭
shutdown
:
graceful
shutdown
:
graceful
# undertow 配置
undertow
:
# HTTP post内容的最大大小。当值为-1时,默认值为大小是无限的
max-http-post-size
:
-1
# 以下的配置会影响buffer,这些buffer会用于服务器连接的IO操作,有点类似netty的池化内存管理
# 每块buffer的空间大小,越小的空间被利用越充分
buffer-size
:
512
# 是否分配的直接内存
direct-buffers
:
true
threads
:
# 设置IO线程数, 它主要执行非阻塞的任务,它们会负责多个连接, 默认设置每个CPU核心一个线程
io
:
8
# 阻塞任务线程池, 当执行类似servlet请求阻塞操作, undertow会从这个线程池中取得线程,它的值设置取决于系统的负载
worker
:
256
spring
:
spring
:
profiles
:
profiles
:
active
:
dev
active
:
dev
application
:
application
:
name
:
binfast-admin
name
:
binfast-admin
threads
:
# 开启虚拟线程 仅jdk21可用
virtual
:
enabled
:
true
task
:
task
:
execution
:
execution
:
# 从 springboot 3.5 开始 spring自带线程池
# 从 springboot 3.5 开始 spring自带线程池
# 不再需要 AsyncConfig与ThreadPoolConfig 可直接注入线程池使用
# 不再需要 AsyncConfig与ThreadPoolConfig 可直接注入线程池使用
thread-name-prefix
:
async-
thread-name-prefix
:
async-
# 由spring自己初始化线程池
# 由spring自己初始化线程池
mode
:
force
mode
:
force
jackson
:
jackson
:
date-format
:
yyyy-MM-dd HH:mm:ss
date-format
:
yyyy-MM-dd HH:mm:ss
time-zone
:
GMT+8
time-zone
:
GMT+8
...
@@ -29,6 +47,14 @@ spring:
...
@@ -29,6 +47,14 @@ spring:
# redisson:
# redisson:
# config: classpath:redisson.yml
# config: classpath:redisson.yml
# 用户配置
user
:
password
:
# 密码最大错误次数
maxRetryCount
:
5
# 密码锁定时间(默认10分钟)
lockTime
:
10
---
# Actuator 监控端点的配置项
---
# Actuator 监控端点的配置项
management
:
management
:
endpoints
:
endpoints
:
...
@@ -150,6 +176,18 @@ thread-pool:
...
@@ -150,6 +176,18 @@ thread-pool:
enabled
:
true
enabled
:
true
trace
:
true
trace
:
true
captcha
:
# 是否启用验证码校验
enable
:
false
# 验证码类型 math 数组计算 char 字符验证
type
:
MATH
# line 线段干扰 circle 圆圈干扰 shear 扭曲干扰
category
:
CIRCLE
# 数字验证码位数
numberLength
:
1
# 字符验证码长度
charLength
:
4
---
# 默认/推荐使用sse推送
---
# 默认/推荐使用sse推送
sse
:
sse
:
enabled
:
true
enabled
:
true
...
...
pom.xml
View file @
8bacb454
...
@@ -9,13 +9,13 @@
...
@@ -9,13 +9,13 @@
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<properties>
<properties>
<java.version>
17
</java.version>
<java.version>
21
</java.version>
<spring-boot.version>
3.5.6
</spring-boot.version>
<spring-boot.version>
3.5.6
</spring-boot.version>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<maven-jar-plugin.version>
3.4.2
</maven-jar-plugin.version>
<maven-jar-plugin.version>
3.4.2
</maven-jar-plugin.version>
<maven-compiler-plugin.version>
3.14.0
</maven-compiler-plugin.version>
<maven-compiler-plugin.version>
3.14.0
</maven-compiler-plugin.version>
<binfast.version>
1.
1.9
</binfast.version>
<binfast.version>
1.
2.0
</binfast.version>
</properties>
</properties>
<modules>
<modules>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment