Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
B
binfast-archetype
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-archetype
Commits
c3c951a1
Commit
c3c951a1
authored
Oct 15, 2025
by
刘斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 升级版本251015
parent
b6021e3d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
71 additions
and
11 deletions
+71
-11
pom.xml
...ight/src/main/resources/archetype-resources/admin/pom.xml
+28
-0
CorsConfig.java
...type-resources/admin/src/main/java/config/CorsConfig.java
+23
-0
application-dev.yml
...pe-resources/admin/src/main/resources/application-dev.yml
+5
-0
application-log-dev.yml
...esources/admin/src/main/resources/application-log-dev.yml
+0
-10
application.yml
...hetype-resources/admin/src/main/resources/application.yml
+13
-1
pom.xml
...type-light/src/main/resources/archetype-resources/pom.xml
+2
-0
No files found.
binfast-archetype-light/src/main/resources/archetype-resources/admin/pom.xml
View file @
c3c951a1
...
@@ -24,6 +24,10 @@
...
@@ -24,6 +24,10 @@
<groupId>
top.binfast
</groupId>
<groupId>
top.binfast
</groupId>
<artifactId>
daemon-codegen
</artifactId>
<artifactId>
daemon-codegen
</artifactId>
</dependency>
</dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-actuator
</artifactId>
</dependency>
<dependency>
<dependency>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-test
</artifactId>
<artifactId>
spring-boot-starter-test
</artifactId>
...
@@ -45,6 +49,30 @@
...
@@ -45,6 +49,30 @@
<plugin>
<plugin>
<groupId>
org.springframework.boot
</groupId>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<artifactId>
spring-boot-maven-plugin
</artifactId>
<version>
${spring-boot.version}
</version>
<executions>
<execution>
<goals>
<goal>
repackage
</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 添加Maven编译插件配置 -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<version>
${maven-compiler-plugin.version}
</version>
<configuration>
<source>
17
</source>
<target>
17
</target>
<encoding>
UTF-8
</encoding>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-jar-plugin
</artifactId>
<version>
${maven-jar-plugin.version}
</version>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
...
...
binfast-archetype-light/src/main/resources/archetype-resources/admin/src/main/java/config/CorsConfig.java
0 → 100644
View file @
c3c951a1
#
set
(
$symbol_pound
=
'#'
)
#
set
(
$symbol_dollar
=
'$'
)
#
set
(
$symbol_escape
=
'\'
)
package
$
{
package
}.
config
;
import
org.springframework.context.annotation.Configuration
;
import
org.springframework.context.annotation.Profile
;
import
org.springframework.web.servlet.config.annotation.CorsRegistry
;
import
org.springframework.web.servlet.config.annotation.WebMvcConfigurer
;
@Profile
(
"dev"
)
@Configuration
(
proxyBeanMethods
=
false
)
public
class
CorsConfig
implements
WebMvcConfigurer
{
@Override
public
void
addCorsMappings
(
CorsRegistry
registry
)
{
registry
.
addMapping
(
"/**"
)
.
allowedOriginPatterns
(
"*"
)
.
allowedMethods
(
"GET"
,
"POST"
,
"PUT"
,
"DELETE"
,
"OPTIONS"
)
.
allowedHeaders
(
"*"
)
.
allowCredentials
(
true
)
.
maxAge
(
3600
);
}
}
\ No newline at end of file
binfast-archetype-light/src/main/resources/archetype-resources/admin/src/main/resources/application-dev.yml
View file @
c3c951a1
...
@@ -11,6 +11,11 @@ spring:
...
@@ -11,6 +11,11 @@ spring:
username
:
root
username
:
root
password
:
antaikeji2019
password
:
antaikeji2019
type
:
com.zaxxer.hikari.HikariDataSource
type
:
com.zaxxer.hikari.HikariDataSource
logSource
:
url
:
jdbc:mysql://119.184.127.215:13306/binfast_log?allowMultiQueries=true&characterEncoding=utf8&useSSL=true&useUnicode=true&serverTimezone=GMT%2B8
username
:
root
password
:
antaikeji2019
type
:
com.zaxxer.hikari.HikariDataSource
redis
:
redis
:
redisson
:
redisson
:
keyPrefix
:
keyPrefix
:
...
...
binfast-archetype-light/src/main/resources/archetype-resources/admin/src/main/resources/application-log-dev.yml
deleted
100644 → 0
View file @
b6021e3d
spring
:
datasource
:
dynamic
:
datasource
:
logSource
:
url
:
jdbc:mysql://119.184.127.215:13306/binfast_log?allowMultiQueries=true&characterEncoding=utf8&useSSL=true&useUnicode=true&serverTimezone=GMT%2B8
username
:
root
password
:
antaikeji2019
type
:
com.zaxxer.hikari.HikariDataSource
binfast-archetype-light/src/main/resources/archetype-resources/admin/src/main/resources/application.yml
View file @
c3c951a1
...
@@ -7,7 +7,7 @@ server:
...
@@ -7,7 +7,7 @@ server:
spring
:
spring
:
profiles
:
profiles
:
active
:
dev
,log-dev
active
:
dev
application
:
application
:
name
:
binfast-admin
name
:
binfast-admin
task
:
task
:
...
@@ -29,6 +29,18 @@ spring:
...
@@ -29,6 +29,18 @@ spring:
# redisson:
# redisson:
# config: classpath:redisson.yml
# config: classpath:redisson.yml
---
# Actuator 监控端点的配置项
management
:
endpoints
:
web
:
exposure
:
include
:
health,info,logfile
endpoint
:
health
:
show-details
:
ALWAYS
logfile
:
external-file
:
./logs/console.log
# mybaits-plus配置
# mybaits-plus配置
mybatis-plus
:
mybatis-plus
:
# MyBatis Mapper所对应的XML文件位置
# MyBatis Mapper所对应的XML文件位置
...
...
binfast-archetype-light/src/main/resources/archetype-resources/pom.xml
View file @
c3c951a1
...
@@ -13,6 +13,8 @@
...
@@ -13,6 +13,8 @@
<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-compiler-plugin.version>
3.14.0
</maven-compiler-plugin.version>
<binfast.version>
1.1.9
</binfast.version>
<binfast.version>
1.1.9
</binfast.version>
</properties>
</properties>
...
...
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