File tree Expand file tree Collapse file tree 4 files changed +8
-12
lines changed
src/main/java/apijson/boot Expand file tree Collapse file tree 4 files changed +8
-12
lines changed Original file line number Diff line number Diff line change 4949 <artifactId >classgraph</artifactId >
5050 <version >4.8.87</version >
5151 </dependency >
52- <!-- 单元测试:可使用 libs 目录的 unitauto-java.jar 和 unitauto-jar.jar 来替代,两种方式二选一
53- >>>>>>>>> -->
52+ <!-- 单元测试:可使用 libs 目录的 unitauto-java.jar 和 unitauto-jar.jar 来替代,两种方式二选一 >>>>>>>>> -->
5453
5554
5655 <!-- 可使用 libs 目录的 apijson-orm.jar, apijson-framework.jar, apijson-column.jar 来替代,两种方式二选一 <<<<<<<<<< -->
6766 <dependency >
6867 <groupId >com.github.APIJSON</groupId >
6968 <artifactId >apijson-column</artifactId >
70- <version >1.0.0 </version >
69+ <version >1.0.1 </version >
7170 </dependency >
7271 <!-- 可使用 libs 目录的 apijson-orm.jar, apijson-framework.jar, apijson-column.jar 来替代,两种方式二选一 >>>>>>>>>> -->
7372
Original file line number Diff line number Diff line change @@ -247,7 +247,8 @@ public static void main(String[] args) throws Exception {
247247
248248 // FIXME 不要开放给项目组后端之外的任何人使用 UnitAuto(强制登录鉴权)!!!如果不需要单元测试则移除相关代码或 unitauto.Log.DEBUG = false;
249249 // 上线生产环境前改为 false,可不输出 APIJSONORM 的日志 以及 SQLException 的原始(敏感)信息
250- APIJSONParser .isPrintErrorLog = unitauto .Log .DEBUG = Log .DEBUG = true ;
250+ unitauto .Log .DEBUG = Log .DEBUG = true ;
251+ APIJSONParser .IS_PRINT_BIG_LOG = true ;
251252 APIJSONApplication .init ();
252253 }
253254
Original file line number Diff line number Diff line change @@ -363,12 +363,8 @@ public JSONObject postVerify(@RequestBody String request) {
363363 newVerifyRequest (type , phone , "" + (new Random ().nextInt (9999 ) + 1000 ))
364364 );
365365
366- JSONObject verify = null ;
367- try {
368- verify = response .getJSONObject (StringUtil .firstCase (VERIFY_ ));
369- } catch (Exception e ) {}
370366
371- if (verify == null || JSONResponse .isSuccess (verify . getIntValue ( JSONResponse . KEY_CODE ) ) == false ) {
367+ if (JSONResponse .isSuccess (response ) == false ) {
372368 new DemoParser (DELETE , false ).parseResponse (new JSONRequest (new Verify (type , phone )));
373369 return response ;
374370 }
Original file line number Diff line number Diff line change 44 <groupId >apijson.jfinal</groupId >
55 <artifactId >apijson-final</artifactId >
66 <packaging >jar</packaging >
7- <version >4.6.6 </version >
7+ <version >4.6.7 </version >
88 <name >Demo project for APIJSON Server based on JFinal</name >
99 <url >http://maven.apache.org</url >
1010 <dependencies >
2626 <dependency >
2727 <groupId >com.github.Tencent</groupId >
2828 <artifactId >APIJSON</artifactId >
29- <version >4.6.6 </version >
29+ <version >4.6.7 </version >
3030 </dependency >
3131 <dependency >
3232 <groupId >com.github.APIJSON</groupId >
3333 <artifactId >apijson-framework</artifactId >
34- <version >4.6.6 </version >
34+ <version >4.6.7 </version >
3535 </dependency >
3636 <!-- 可使用 libs 目录的 apijson-orm.jar 和 apijson-framework.jar 来替代,两种方式二选一 >>>>>>>>>> -->
3737
You can’t perform that action at this time.
0 commit comments