新增设备管理模块
This commit is contained in:
@@ -46,6 +46,21 @@ public class RuoYiConfig {
|
||||
*/
|
||||
@Getter
|
||||
private static boolean addressEnabled;
|
||||
/** 上传路径 */
|
||||
private static String profile;
|
||||
|
||||
public static String getProfile()
|
||||
{
|
||||
return profile;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取下载路径
|
||||
*/
|
||||
public static String getDownloadPath()
|
||||
{
|
||||
return getProfile() + "/download/";
|
||||
}
|
||||
|
||||
public void setAddressEnabled(boolean addressEnabled) {
|
||||
RuoYiConfig.addressEnabled = addressEnabled;
|
||||
|
||||
Reference in New Issue
Block a user