@@ -32,44 +32,51 @@ public static void main(String[] args) {
3232
3333 System .out .println ("\n \n \n \n \n <<<<<<<<<<<<<<<<<<<<<<<<< APIJSON 开始启动 >>>>>>>>>>>>>>>>>>>>>>>>\n " );
3434
35+ System .out .println ("\n \n \n 开始初始化:远程函数配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
36+ try {
37+ DemoFunction .init (true );
38+ }
39+ catch (Exception e ) {
40+ e .printStackTrace ();
41+ }
42+ System .out .println ("\n 完成初始化:远程函数配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
43+
3544 System .out .println ("开始测试:远程函数 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
3645 try {
3746 DemoFunction .test ();
38- } catch (Exception e ) {
47+ }
48+ catch (Exception e ) {
3949 e .printStackTrace ();
4050 }
4151 System .out .println ("\n 完成测试:远程函数 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
4252
53+
54+
55+ System .out .println ("\n \n \n 开始初始化:请求校验配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
56+ try {
57+ StructureUtil .init (true );
58+ }
59+ catch (Exception e ) {
60+ e .printStackTrace ();
61+ }
62+ System .out .println ("\n 完成初始化:请求校验配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
4363
4464 System .out .println ("\n \n \n 开始测试:请求校验 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
4565 try {
4666 StructureUtil .test ();
47- } catch (Exception e ) {
67+ }
68+ catch (Exception e ) {
4869 e .printStackTrace ();
4970 }
5071 System .out .println ("\n 完成测试:请求校验 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
5172
5273
53- System .out .println ("\n \n \n 开始初始化:远程函数配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
54- try {
55- DemoFunction .init (true );
56- } catch (Exception e ) {
57- e .printStackTrace ();
58- }
59- System .out .println ("\n 完成初始化:远程函数配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
6074
61- System .out .println ("\n \n \n 开始初始化:请求校验配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
62- try {
63- StructureUtil .init (true );
64- } catch (Exception e ) {
65- e .printStackTrace ();
66- }
67- System .out .println ("\n 完成初始化:请求校验配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
68-
6975 System .out .println ("\n \n \n 开始初始化:权限校验配置 <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<\n " );
7076 try {
7177 DemoVerifier .init (true );
72- } catch (Exception e ) {
78+ }
79+ catch (Exception e ) {
7380 e .printStackTrace ();
7481 }
7582 System .out .println ("\n 完成初始化:权限校验配置 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>" );
@@ -78,6 +85,8 @@ public static void main(String[] args) {
7885 System .out .println ("\n \n <<<<<<<<<<<<<<<<<<<<<<<<< APIJSON 启动完成,试试调用自动化 API 吧 ^_^ >>>>>>>>>>>>>>>>>>>>>>>>\n " );
7986 }
8087
88+
89+
8190 public void configRoute (Routes me ) {
8291 me .add ("/" , Controller .class );
8392 }
0 commit comments