Browse Source

torna版本升级

谭斌 2 năm trước cách đây
mục cha
commit
1e93257d7e
2 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 1 1
      device-start/pom.xml
  2. 2 2
      device-start/src/main/resources/torna.json

+ 1 - 1
device-start/pom.xml

@@ -39,7 +39,7 @@
         <dependency>
             <groupId>cn.torna</groupId>
             <artifactId>swagger-plugin</artifactId>
-            <version>1.2.14</version>
+            <version>1.2.18</version>
             <scope>test</scope>
         </dependency>
 

+ 2 - 2
device-start/src/main/resources/torna.json

@@ -2,7 +2,7 @@
   // 开启推送
   "enable": true,
   // 扫描package,多个用;隔开
-  "basePackage": "com.xy.controller",
+  "basePackage": "com.xy.*",
   // 推送URL,IP端口对应Torna服务器
   "url": "http://119.96.213.127:9010/api",
   // 模块token
@@ -10,7 +10,7 @@
   // 调试环境,格式:环境名称,调试路径,多个用"|"隔开
   "debugEnv": "test,http://127.0.0.1:8088",
   // 推送人
-  "author": "tb",
+  "author": "xy",
   // 打开调试:true/false
   "debug": true,
   // 是否替换文档,true:替换,false:不替换(追加)。默认:true