增加新模块klp-mes制造执行下面的设备管理功能的后端实现

This commit is contained in:
2025-07-25 11:27:22 +08:00
parent 6847c99995
commit 4724f89820
107 changed files with 13244 additions and 5 deletions

View File

@@ -40,7 +40,14 @@ public class KLPConfig {
* 缓存懒加载
*/
private boolean cacheLazy;
/** 上传路径 */
private static String profile;
public static String getProfile()
{
return profile;
}
/**
* 获取地址开关
*/
@@ -50,5 +57,18 @@ public class KLPConfig {
public void setAddressEnabled(boolean addressEnabled) {
KLPConfig.addressEnabled = addressEnabled;
}
/**
* 获取导入上传路径
*/
public static String getImportPath()
{
return getProfile() + "/import";
}
/**
* 获取下载路径
*/
public static String getDownloadPath()
{
return getProfile() + "/download/";
}
}