路径分隔符调整

pull/89/head
RuoYi 2019-05-19 18:28:57 +08:00
parent a1df41ddde
commit c480d769a5
1 changed files with 3 additions and 3 deletions

View File

@ -4,13 +4,13 @@ import java.io.File;
import java.io.IOException;
import org.apache.commons.io.FilenameUtils;
import org.springframework.web.multipart.MultipartFile;
import com.ruoyi.common.config.Global;
import com.ruoyi.common.exception.file.FileNameLengthLimitExceededException;
import com.ruoyi.common.exception.file.FileSizeLimitExceededException;
import com.ruoyi.common.exception.file.InvalidExtensionException;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.common.utils.Md5Utils;
import com.ruoyi.common.utils.StringUtils;
import com.ruoyi.framework.config.RuoYiConfig;
import com.ruoyi.common.utils.security.Md5Utils;
/**
*
@ -32,7 +32,7 @@ public class FileUploadUtils
/**
*
*/
private static String defaultBaseDir = RuoYiConfig.getProfile();
private static String defaultBaseDir = Global.getProfile();
private static int counter = 0;