Skip to content

Commit 07d9748

Browse files
authored
新增 SpringBoot 3 的 Demo,感谢 komiblog 的贡献 #34
#34
2 parents ecf658d + 0d3a85a commit 07d9748

File tree

15 files changed

+1297
-0
lines changed

15 files changed

+1297
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
HELP.md
2+
target/
3+
!.mvn/wrapper/maven-wrapper.jar
4+
!**/src/main/**/target/
5+
!**/src/test/**/target/
6+
7+
### STS ###
8+
.apt_generated
9+
.classpath
10+
.factorypath
11+
.project
12+
.settings
13+
.springBeans
14+
.sts4-cache
15+
16+
### IntelliJ IDEA ###
17+
.idea
18+
*.iws
19+
*.iml
20+
*.ipr
21+
22+
### NetBeans ###
23+
/nbproject/private/
24+
/nbbuild/
25+
/dist/
26+
/nbdist/
27+
/.nb-gradle/
28+
build/
29+
!**/src/main/**/build/
30+
!**/src/test/**/build/
31+
32+
### VS Code ###
33+
.vscode/
Binary file not shown.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
distributionUrl=https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/3.9.5/apache-maven-3.9.5-bin.zip
2+
wrapperUrl=https://repo.maven.apache.org/maven2/org/apache/maven/wrapper/maven-wrapper/3.2.0/maven-wrapper-3.2.0.jar
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# 环境
2+
3+
- SpringBoot3
4+
- java17
5+
- APIJSON 6.1.0
6+
- apijson-framework 6.1.0_springboot3
7+
8+
> 使用的apijson 版本较旧,可自行升级到最新的apijson-springboot3版本,因为没做测试,这里就先不升级了。
9+
10+
# 和其他例子的主要区别
11+
12+
- 复杂度介于APIJSONBoot 和 APIJSONDemo 之间
13+
- 完成了一些常用配置
14+
- 简单鉴权
15+
- samesite策略
16+
- HikariCP 多数据源配置
17+
- 解决数字返回前端精度丢失问题

APIJSON-Java-Server/APIJSONSimpleDemo-SpringBoot3/mvnw

Lines changed: 308 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)