|
@@ -101,7 +101,7 @@ public class UploadService {
|
|
|
throw new BusinessException(ResultCode.UPLOAD_ERROR.code,ResultCode.UPLOAD_ERROR.msg);
|
|
|
}
|
|
|
|
|
|
- return queryPath +filePathAdd+ URLEncoder.encode(fileName,"utf-8").replaceAll("+", "%20") + suffixName;
|
|
|
+ return queryPath +filePathAdd+ URLEncoder.encode(fileName,"utf-8").replace("+", "%20") + suffixName;
|
|
|
}catch (Exception e){
|
|
|
log.info("upload-error:{}",e);
|
|
|
throw new BusinessException(ResultCode.UPLOAD_ERROR.code,ResultCode.UPLOAD_ERROR.msg);
|