Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit ee020d3

Browse files
Java:所有 Demo 升级自身, APIJSON, apijson-framework 版本至 5.1.0,升级 UnitAuto 至 2.7.2
1 parent ba1f96a commit ee020d3

File tree

33 files changed

+295
-180
lines changed

33 files changed

+295
-180
lines changed

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<modelVersion>4.0.0</modelVersion>
55

66
<groupId>apijson.boot</groupId>
7-
<artifactId>apijson-boot</artifactId>
7+
<artifactId>apijson-boot-multi-datasource</artifactId>
88
<version>5.1.0</version>
99
<!-- <packaging>jar</packaging> -->
1010

‎APIJSON-Java-Server/APIJSONBoot-MultiDataSource/src/main/java/apijson/boot/DemoController.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,13 @@ public String delete(@RequestBody String request, HttpSession session) {
228228

229229
// 以上接口对应的简版接口,格式为 {method}/{tag}?format=true&@explain=true.. <<<<<<<<<<<<<<<<<<<<<<<<<
230230

231-
232-
/**增删改查统一入口,这个一个方法可替代以下 7 个方法,牺牲一些路由解析性能来提升一点开发效率
233-
* @param request 只用String,避免encode后未decode
231+
/**增删改查统一接口,这个一个接口可替代 7 个万能通用接口,牺牲一些路由解析性能来提升一点开发效率
232+
* @param method
233+
* @param tag
234+
* @param params
235+
* @param request
234236
* @param session
235237
* @return
236-
* @see {@link RequestMethod#DELETE}
237238
*/
238239
@PostMapping("crud/{method}/{tag}") // 直接 {method}/{tag} 或 apijson/{method}/{tag} 会和内置网页的路由有冲突
239240
@Override
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /