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 a91c417

Browse files
Java:APIJSONDemo 和 APIJSONFinal 都升级 APIJSON, apijson-framework, 自身 至最新版 4.6.0;APIJSONFinal 删除测试 APIAuto 导入 Swagger, YApi, Rap 接口用例及文档的接口,看起来更简洁些
1 parent 9f1ea38 commit a91c417

File tree

8 files changed

+23
-448
lines changed

8 files changed

+23
-448
lines changed

‎APIJSON-Java-Server/APIJSONDemo/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>apijson.demo</groupId>
77
<artifactId>apijson-demo</artifactId>
8-
<version>4.5.3</version>
8+
<version>4.6.0</version>
99
<packaging>jar</packaging>
1010

1111
<name>APIJSONDemo</name>
-342 KB
Binary file not shown.
64 KB
Binary file not shown.
-283 KB
Binary file not shown.
284 KB
Binary file not shown.

‎APIJSON-Java-Server/APIJSONFinal/pom.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<groupId>apijson.jfinal</groupId>
55
<artifactId>apijson-final</artifactId>
66
<packaging>jar</packaging>
7-
<version>4.5.3</version>
7+
<version>4.6.0</version>
88
<name>Demo project for APIJSON Server based on JFinal</name>
99
<url>http://maven.apache.org</url>
1010
<dependencies>
@@ -26,12 +26,12 @@
2626
<dependency>
2727
<groupId>com.github.Tencent</groupId>
2828
<artifactId>APIJSON</artifactId>
29-
<version>4.5.2</version>
29+
<version>4.6.0</version>
3030
</dependency>
3131
<dependency>
3232
<groupId>com.github.APIJSON</groupId>
3333
<artifactId>apijson-framework</artifactId>
34-
<version>4.5.2</version>
34+
<version>4.6.0</version>
3535
</dependency>
3636
<!-- 可使用 libs 目录的 apijson-orm.jar 和 apijson-framework.jar 来替代,两种方式二选一 >>>>>>>>>> -->
3737

‎APIJSON-Java-Server/APIJSONFinal/src/main/java/apijson/demo/DemoObjectParser.java

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@
1414

1515
package apijson.demo;
1616

17+
import com.alibaba.fastjson.JSONObject;
18+
1719
import java.util.List;
1820

1921
import javax.servlet.http.HttpSession;
2022

21-
import com.alibaba.fastjson.JSONObject;
22-
2323
import apijson.NotNull;
2424
import apijson.RequestMethod;
2525
import apijson.orm.AbstractObjectParser;
@@ -33,14 +33,9 @@
3333
*/
3434
public class DemoObjectParser extends AbstractObjectParser {
3535

36-
/**for single object
37-
* @param parentPath
38-
* @param request
39-
* @param name
40-
* @throws Exception
41-
*/
42-
public DemoObjectParser(HttpSession session, @NotNull JSONObject request, String parentPath, String name, SQLConfig arrayConfig, boolean isSubquery) throws Exception {
43-
super(request, parentPath, name, arrayConfig, isSubquery);
36+
public DemoObjectParser(HttpSession session, @NotNull JSONObject request, String parentPath, SQLConfig arrayConfig
37+
, boolean isSubquery, boolean isTable, boolean isArrayMainTable) throws Exception {
38+
super(request, parentPath, arrayConfig, isSubquery, isTable, isArrayMainTable);
4439
}
4540

4641
@Override

0 commit comments

Comments
(0)

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