优化宇视打包jar包依赖问题

This commit is contained in:
zc
2026-04-10 01:21:00 +08:00
parent c03bcfb043
commit 371daf2eee
4 changed files with 85 additions and 12 deletions

View File

@@ -1,7 +1,9 @@
package top.wms.admin.controller.ys.lib;
import com.sun.jna.Platform;
import lombok.extern.slf4j.Slf4j;
@Slf4j
class BaseFun {
// 获取操作平台信息
public static String getOsArch() {
@@ -51,7 +53,8 @@ class BaseFun {
loadLibrary = filePath + "\\config\\lib\\win64\\";
}
String loadSDKLibrary = loadLibrary + "NetDEVSDK";
System.out.printf("[Load SDKLibrary Path : %s]\n", loadSDKLibrary);
log.info("Load SDK Library: " + loadSDKLibrary);
return loadSDKLibrary;
}
}

View File

@@ -54,12 +54,12 @@ spring.data:
## Redis 配置(单机模式)
redis:
# 地址
host: ${REDIS_HOST:192.168.2.30}
# host: ${REDIS_HOST:127.0.0.1}
# host: ${REDIS_HOST:192.168.2.30}
host: ${REDIS_HOST:127.0.0.1}
# 端口(默认 6379
port: ${REDIS_PORT:6379}
# 密码(未设置密码时请注释掉)
password: ${REDIS_PWD:redis2025}
# password: ${REDIS_PWD:redis2025}
# 数据库索引
database: ${REDIS_DB:0}
# 连接超时时间