Skip to content

Commit b91d6b1

Browse files
authored
Merge pull request #7 from fineday009/master
替换各demo中libs目录的apijson所依赖的jar包为 4.6.7,并提升自身版本为 4.6.7
2 parents bc50c04 + 0f8fad4 commit b91d6b1

11 files changed

+7
-5
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

APIJSON-Java-Server/APIJSONBoot/pom.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
<groupId>apijson.boot</groupId>
77
<artifactId>apijson-boot</artifactId>
8-
<version>4.6.6</version>
8+
<version>4.6.7</version>
99
<packaging>jar</packaging>
1010

1111
<name>APIJSONBoot</name>
@@ -57,12 +57,12 @@
5757
<dependency>
5858
<groupId>com.github.Tencent</groupId>
5959
<artifactId>APIJSON</artifactId>
60-
<version>4.6.6</version>
60+
<version>4.6.7</version>
6161
</dependency>
6262
<dependency>
6363
<groupId>com.github.APIJSON</groupId>
6464
<artifactId>apijson-framework</artifactId>
65-
<version>4.6.6</version>
65+
<version>4.6.7</version>
6666
</dependency>
6767
<dependency>
6868
<groupId>com.github.APIJSON</groupId>

APIJSON-Java-Server/APIJSONBoot/src/main/java/apijson/boot/DemoApplication.java

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121

2222
import javax.naming.Context;
2323

24+
import apijson.framework.APIJSONParser;
2425
import org.springframework.beans.BeansException;
2526
import org.springframework.boot.SpringApplication;
2627
import org.springframework.boot.autoconfigure.SpringBootApplication;
@@ -245,7 +246,8 @@ public static void main(String[] args) throws Exception {
245246
SpringApplication.run(DemoApplication.class, args);
246247

247248
// FIXME 不要开放给项目组后端之外的任何人使用 UnitAuto(强制登录鉴权)!!!如果不需要单元测试则移除相关代码或 unitauto.Log.DEBUG = false;
248-
unitauto.Log.DEBUG = Log.DEBUG = true; // 上线生产环境前改为 false,可不输出 APIJSONORM 的日志 以及 SQLException 的原始(敏感)信息
249+
// 上线生产环境前改为 false,可不输出 APIJSONORM 的日志 以及 SQLException 的原始(敏感)信息
250+
APIJSONParser.isPrintErrorLog = unitauto.Log.DEBUG = Log.DEBUG = true;
249251
APIJSONApplication.init();
250252
}
251253

APIJSON-Java-Server/APIJSONDemo/pom.xml

+1-1
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.6.6</version>
8+
<version>4.6.7</version>
99
<packaging>jar</packaging>
1010

1111
<name>APIJSONDemo</name>
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)