fix(client): 设备移除逻辑与认证流程优化
- 修改设备移除时的本地清理方法,统一调用 clearLocalAuth - 优化设备数量限制校验逻辑,避免重复计算当前设备- 移除冗余的设备状态检查,简化设备移除流程- 调整 Redis 连接超时与等待时间,提升连接稳定性- 增强 MySQL 数据库连接配置,添加自动重连机制 -优化 Druid 连接池参数,提高数据库连接性能 - 简化客户端认证与数据上报逻辑,提升处理效率 - 移除过期设备状态更新逻辑,减少不必要的数据库操作- 调整慢 SQL 记录阈值,便于及时发现性能问题-优化版本分布与数据类型统计查询逻辑,提高响应速度
This commit is contained in:
@@ -9,15 +9,12 @@
|
||||
"public/jre/**/*",
|
||||
"public/icon/**/*",
|
||||
"public/image/**/*",
|
||||
"public/splash.html"
|
||||
"public/splash.html",
|
||||
"public/config/**/*"
|
||||
],
|
||||
"directories": {
|
||||
"output": "dist"
|
||||
},
|
||||
"publish": {
|
||||
"provider": "generic",
|
||||
"url": "http://192.168.1.89:8085/static/updates/"
|
||||
},
|
||||
"nsis": {
|
||||
"oneClick": false,
|
||||
"perMachine": false,
|
||||
@@ -28,10 +25,8 @@
|
||||
"target": "nsis",
|
||||
"icon": "public/icon/icon.png"
|
||||
},
|
||||
"linux": {
|
||||
"target": ["snap"]
|
||||
},
|
||||
"files": [
|
||||
"package.json",
|
||||
{
|
||||
"from": "build/main",
|
||||
"to": "main",
|
||||
@@ -43,18 +38,10 @@
|
||||
"filter": ["**/*"]
|
||||
},
|
||||
{
|
||||
|
||||
"from": "src/main/static",
|
||||
"to": "static",
|
||||
"filter": ["**/*"]
|
||||
},
|
||||
{
|
||||
"from": "public",
|
||||
"to": "assets",
|
||||
"filter": [
|
||||
"erp_client_sb-*.jar"
|
||||
]
|
||||
},
|
||||
{
|
||||
"from": "public",
|
||||
"to": "public",
|
||||
@@ -63,58 +50,42 @@
|
||||
"icon/**/*",
|
||||
"image/**/*",
|
||||
"splash.html",
|
||||
"config/**/*",
|
||||
"!erp_client_sb-*.jar",
|
||||
"!data/**/*",
|
||||
"!jre/bin/jabswitch.exe",
|
||||
"!jre/bin/jaccessinspector.exe",
|
||||
"!jre/bin/jaccesswalker.exe",
|
||||
"!jre/bin/jar.exe",
|
||||
"!jre/bin/jarsigner.exe",
|
||||
"!jre/bin/javac.exe",
|
||||
"!jre/bin/javadoc.exe",
|
||||
"!jre/bin/javap.exe",
|
||||
"!jre/bin/jcmd.exe",
|
||||
"!jre/bin/jconsole.exe",
|
||||
"!jre/bin/jdb.exe",
|
||||
"!jre/bin/jdeprscan.exe",
|
||||
"!jre/bin/jdeps.exe",
|
||||
"!jre/bin/jfr.exe",
|
||||
"!jre/bin/jhsdb.exe",
|
||||
"!jre/bin/jimage.exe",
|
||||
"!jre/bin/jinfo.exe",
|
||||
"!jre/bin/jlink.exe",
|
||||
"!jre/bin/jmap.exe",
|
||||
"!jre/bin/jmod.exe",
|
||||
"!jre/bin/jpackage.exe",
|
||||
"!jre/bin/jps.exe",
|
||||
"!jre/bin/jrunscript.exe",
|
||||
"!jre/bin/jshell.exe",
|
||||
"!jre/bin/jstack.exe",
|
||||
"!jre/bin/jstat.exe",
|
||||
"!jre/bin/jstatd.exe",
|
||||
"!jre/bin/keytool.exe",
|
||||
"!jre/bin/kinit.exe",
|
||||
"!jre/bin/klist.exe",
|
||||
"!jre/bin/ktab.exe",
|
||||
"!jre/bin/rmiregistry.exe",
|
||||
"!jre/bin/serialver.exe",
|
||||
"!jre/bin/jab*.exe",
|
||||
"!jre/bin/jac*.exe",
|
||||
"!jre/bin/jar*.exe",
|
||||
"!jre/bin/jc*.exe",
|
||||
"!jre/bin/jd*.exe",
|
||||
"!jre/bin/jf*.exe",
|
||||
"!jre/bin/jh*.exe",
|
||||
"!jre/bin/ji*.exe",
|
||||
"!jre/bin/jl*.exe",
|
||||
"!jre/bin/jm*.exe",
|
||||
"!jre/bin/jp*.exe",
|
||||
"!jre/bin/jr*.exe",
|
||||
"!jre/bin/jsh*.exe",
|
||||
"!jre/bin/jst*.exe",
|
||||
"!jre/bin/k*.exe",
|
||||
"!jre/bin/rmi*.exe",
|
||||
"!jre/bin/serial*.exe",
|
||||
"!jre/include/**",
|
||||
"!jre/lib/src.zip",
|
||||
"!jre/lib/ct.sym",
|
||||
"!jre/lib/jvm.lib",
|
||||
"!icon/image.png",
|
||||
"!icon/img.png"
|
||||
"!jre/lib/jvm.lib"
|
||||
]
|
||||
},
|
||||
"!build",
|
||||
"!dist",
|
||||
"!scripts"
|
||||
}
|
||||
],
|
||||
"electronLanguages": ["en", "zh-CN"],
|
||||
"extraResources": [
|
||||
{
|
||||
"from": "update-helper.bat",
|
||||
"to": "../update-helper.bat"
|
||||
},
|
||||
{
|
||||
"from": "public",
|
||||
"to": "./",
|
||||
"filter": ["erp_client_sb-*.jar"]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user