From 1b16adc4a581785308669d91f05662a9b93b8faa Mon Sep 17 00:00:00 2001
From: shicf <shi_chongfu@163.com>
Date: 星期四, 24 四月 2025 11:12:05 +0800
Subject: [PATCH] app自动升级安装包下载

---
 src/main/resources/application-dev.properties |   25 ++++++++++++++++++-------
 1 files changed, 18 insertions(+), 7 deletions(-)

diff --git a/src/main/resources/application-dev.properties b/src/main/resources/application-dev.properties
index 966151e..764fc1b 100644
--- a/src/main/resources/application-dev.properties
+++ b/src/main/resources/application-dev.properties
@@ -14,19 +14,18 @@
 #\u662F\u5426\u542F\u7528\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1
 signature.isEnable=true
 #\u5728\u542F\u7528\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1\u65F6\uFF0C\u6392\u9664\u6307\u5B9A\u63A5\u53E3\u65E0\u9700\u7B7E\u540D\u8BA4\u8BC1
-signature.exclude.path=/api/mobile/system/table/list-meta/v1,/api/rsa/getKey/v1,/api/token/refresh/v1,/api/mobile/network/check/v1,/api/system/config/info/v1,/static/**,/api/system-user/avatar/v1/*,/api/office/save-office/v1,/download-mobile-apk/v1
+signature.exclude.path=/api/fileManager/upgrade-download/v1,/api/mobile/app/version-check/v1,/api/mobile/app/version-check/v2,/api/mobile/system/table/list-meta/v1,/api/rsa/getKey/v1,/api/token/refresh/v1,/api/mobile/network/check/v1,/api/system/config/info/v1,/static/**,/api/system-user/avatar/v1/*,/api/office/save-office/v1,/download-mobile-apk/v1
 #\u7B7E\u540D\u8BA4\u8BC1Key
 signature.key=299cb5bb4c9040a29c58304c25001d72
 #\u63A5\u53E3\u7B7E\u540D\u8BA4\u8BC1\u6709\u6548\u671F\uFF0C\u5355\u4F4D\u79D2,0\u8868\u793A\u4E0D\u9A8C\u8BC1
 signature.expire=0
 #token\u8FC7\u671F\u65F6\u95F4\uFF0C\u5355\u4F4D:\u5C0F\u65F6 6\u5206\u949F
-token.expiration=1000
 #\u5FD8\u8BB0\u5BC6\u7801\u90AE\u4EF6\u4E2DToken\u7684\u8FC7\u671F\u65F6\u95F4
 mail.token.expiration=1
 #\u63A5\u53E3token\u8FC7\u671F\uFF0C\u5237\u65B0token\u7684\u63A5\u53E3\u4F7F\u7528\u7684Token\u8FC7\u671F\u65F6\u95F4
 refresh.token.expiration=12
 #token\u9A8C\u8BC1\u3001\u767B\u5F55\u9A8C\u8BC1\uFF0C\u6392\u9664URL,\u9017\u53F7\u5206\u9694
-token.exclude.path=/api/mobile/system/table/list-meta/v1,/api/token/refresh/v1,/login,/login/v1,/api/personalcenter/send-updatePwdEmail/v1,/api/language/login-language/v1,/api/lable_internationalization/list_lable_internation/v1,/api/lable_internationalization/list-label-internation-web/v1,/api/personalcenter/check-token/v1,/api/rsa/getKey/v1,/api/mobile/network/check/v1,/api/system/config/info/v1,/api/fileManager/get-static-file,/static/**,/download-mobile-apk/v1
+token.exclude.path=/api/fileManager/upgrade-download/v1,/api/mobile/app/version-check/v2,/api/mobile/app/version-check/v1,/api/mobile/system/table/list-meta/v1,/api/token/refresh/v1,/login,/login/v1,/api/personalcenter/send-updatePwdEmail/v1,/api/language/login-language/v1,/api/lable_internationalization/list_lable_internation/v1,/api/lable_internationalization/list-label-internation-web/v1,/api/personalcenter/check-token/v1,/api/rsa/getKey/v1,/api/mobile/network/check/v1,/api/system/config/info/v1,/api/fileManager/get-static-file,/static/**,/download-mobile-apk/v1
 #\u662F\u5426\u542F\u7528\u6570\u636E\u64CD\u4F5C\u6743\u9650\u9A8C\u8BC1!
 data.handle.valid.isEnable=false
 #\u662F\u5426\u542F\u7528\u529F\u80FD\u6743\u9650\u9A8C\u8BC1
@@ -75,10 +74,14 @@
 data.source.type=mysql
 data.source.driver=com.mysql.jdbc.Driver
 #################local###############################
-data.source.url=jdbc:mysql://192.168.0.200:3308/product_db_xn?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai
+#data.source.url=jdbc:mysql://192.168.0.200:3308/product_db_xn_20240422?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai
 #data.source.url=jdbc:mysql://192.168.0.200:3308/product_db_v3.0.0?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai
-#data.source.url=jdbc:mysql://127.0.0.1:3306/product_db_v3.0.0?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
-#data.source.url=jdbc:mysql://222.209.28.250:3005/product_db_lift?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai
+#data.source.url=jdbc:mysql://192.168.0.200:3308/product_db_lift_v2?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai
+data.source.url=jdbc:mysql://127.0.0.1:3306/product_db_xn?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
+#\u4E1C\u8FC5
+#data.source.url=jdbc:mysql://127.0.0.1:3306/product_db_v3.0.1?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
+#data.source.url=jdbc:mysql://222.209.28.149:3005/product_db_lift_v2?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai
+#data.source.url=jdbc:mysql://222.209.28.149:3005/product_db_v3.0.0?autoReconnect=true&useUnicode=true&characterEncoding=utf8&useNewIO=true&useSSL=false&serverTimezone=Asia/Shanghai
 data.source.user=root
 data.source.password=root123
 ##################local###############################
@@ -183,7 +186,7 @@
 #\u6587\u4EF6\u4E0A\u4F20
 source_domain=https://www.baidu.com
 default_domain=https://lx.blob.core.windows.net
-allowed_file_type=doc,docx,xls,xlsx,ppt,pptx,jpg,png,bmp,csv,pdf,txt,dat,wps,wpt,et,eet,p12
+allowed_file_type=doc,docx,xls,xlsx,ppt,pptx,jpg,png,bmp,csv,pdf,txt,dat,wps,wpt,et,eet,p12,jpeg,apk
 # \u662F\u5426\u9700\u8981\u4E0A\u4F20\u5230\u6587\u4EF6\u670D\u52A1\u5668
 upload.server=false
 # \u662F\u5426\u9700\u8981\u6587\u4EF6\u52A0\u5BC6
@@ -301,6 +304,12 @@
 mobile.mac.valid.isEnable=false
 # \u8BC1\u4E66\u4F4D\u7F6E
 sign.dir.path=D:/test/lx-server/sign
+#\u7EDF\u4E00\u8BA4\u8BC1
+unify.auth.isEnable=false
+unify.token.auth.url=http://10.199.9.4:8888/test/emp/v4/employee/token
+unify.login.auth.url=http://10.199.9.4:8888/test/emp/v4/employee/login?X-Stargate-App-Token=fa94380383ee463cb5384d433d7f1246
+#spring bean name,\u5FC5\u987B\u5B9E\u73B0 IUnifyAuthService.auth\u65B9\u6CD5
+unify.auth.class.name=userCenterAuthService
 #\u542F\u7528\u7CFB\u7EDF\u96C6\u7FA4
 system.clusters.enable=false
 #tomcate\u914D\u7F6E
@@ -308,5 +317,7 @@
 server.tomcat.max-connections=1000
 server.tomcat.max-http-header-size=1024KB
 mobile.apk.version=3.0.0
+#\u79FB\u52A8\u5173app\u5347\u7EA7\u7684\u5730\u5740\uFF0C\u5982\u679C\u672C\u670D\u52A1\u5668\uFF0C\u914D127.0.0.1 \u6216 localhost\u6CA1\u6709\u914D\u7F6E\uFF0C\u5219\u4F7F\u7528\u672C\u5730www.nonxin.cn:9998
+app.upgrade.url=127.0.0.1
 
 

--
Gitblit v1.9.2