Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
6 changes: 3 additions & 3 deletions APIJSON-Java-Server/APIJSONBoot/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>apijson.boot</groupId>
<artifactId>apijson-boot</artifactId>
<version>4.6.6</version>
<version>4.6.7</version>
<packaging>jar</packaging>

<name>APIJSONBoot</name>
Expand Down Expand Up @@ -57,12 +57,12 @@
<dependency>
<groupId>com.github.Tencent</groupId>
<artifactId>APIJSON</artifactId>
<version>4.6.6</version>
<version>4.6.7</version>
</dependency>
<dependency>
<groupId>com.github.APIJSON</groupId>
<artifactId>apijson-framework</artifactId>
<version>4.6.6</version>
<version>4.6.7</version>
</dependency>
<dependency>
<groupId>com.github.APIJSON</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@

import javax.naming.Context;

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

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

Expand Down
2 changes: 1 addition & 1 deletion APIJSON-Java-Server/APIJSONDemo/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>apijson.demo</groupId>
<artifactId>apijson-demo</artifactId>
<version>4.6.6</version>
<version>4.6.7</version>
<packaging>jar</packaging>

<name>APIJSONDemo</name>
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.