|
@@ -96,6 +96,7 @@ public class ProduceServiceImpl implements ProducerService {
|
|
long time = (end - start) / 1000;
|
|
long time = (end - start) / 1000;
|
|
log.info("上传完成,耗时: {} s" , time);
|
|
log.info("上传完成,耗时: {} s" , time);
|
|
return Result.success(entity);
|
|
return Result.success(entity);
|
|
|
|
+// return Result.success();
|
|
}
|
|
}
|
|
|
|
|
|
@Override
|
|
@Override
|
|
@@ -125,7 +126,7 @@ public class ProduceServiceImpl implements ProducerService {
|
|
BaseRuntimeException.isHas(!jpg, null, msg);
|
|
BaseRuntimeException.isHas(!jpg, null, msg);
|
|
|
|
|
|
// 检查2:1图片
|
|
// 检查2:1图片
|
|
- ImgUtils.checkImgRatio(file);
|
|
|
|
|
|
+// ImgUtils.checkImgRatio(file);
|
|
log.info("校验图片完成");
|
|
log.info("校验图片完成");
|
|
|
|
|
|
} catch (IOException e) {
|
|
} catch (IOException e) {
|