|
@@ -57,8 +57,8 @@ public class SceneServiceImpl implements ISceneService {
|
|
@Override
|
|
@Override
|
|
public ResultData uploadBodySegment(MultipartFile file) throws Exception {
|
|
public ResultData uploadBodySegment(MultipartFile file) throws Exception {
|
|
|
|
|
|
- if(!FileUtils.checkFileSizeIsLimit(file.getSize(), 3, "M")){
|
|
|
|
- throw new BusinessException(ErrorCode.FAILURE_CODE_4003, "3M");
|
|
|
|
|
|
+ if(!FileUtils.checkFileSizeIsLimit(file.getSize(), 10, "M")){
|
|
|
|
+ throw new BusinessException(ErrorCode.FAILURE_CODE_4003, "10M");
|
|
}
|
|
}
|
|
|
|
|
|
String uuid = UUID.randomUUID().toString();
|
|
String uuid = UUID.randomUUID().toString();
|