1、文件上传功能重构
2、实现签到删除 3、实现签到表格处弹性布局 4、库存删除问题修正
This commit is contained in:
@@ -41,6 +41,10 @@ public class RuoYiConfig {
|
||||
*/
|
||||
private boolean cacheLazy;
|
||||
|
||||
/** 上传路径 */
|
||||
@Getter
|
||||
private static String profile = "/home/wy/oa/uploadPath";
|
||||
|
||||
/**
|
||||
* 获取地址开关
|
||||
*/
|
||||
@@ -51,4 +55,37 @@ public class RuoYiConfig {
|
||||
RuoYiConfig.addressEnabled = addressEnabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取导入上传路径
|
||||
*/
|
||||
public static String getImportPath()
|
||||
{
|
||||
return getProfile() + "/import";
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取头像上传路径
|
||||
*/
|
||||
public static String getAvatarPath()
|
||||
{
|
||||
return getProfile() + "/avatar";
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取下载路径
|
||||
*/
|
||||
public static String getDownloadPath()
|
||||
{
|
||||
return getProfile() + "/download/";
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取上传路径
|
||||
*/
|
||||
public static String getUploadPath()
|
||||
{
|
||||
return getProfile() + "/upload";
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user