|
|
@@ -47,8 +47,8 @@ public class DistinctionServiceImpl extends BaseServiceImpl<DistinctionMapper, D
|
|
|
@Override
|
|
|
public DistinctionDTO checkImg(MultipartFile file, Long orderId, List<String> uidList) throws IOException {
|
|
|
DistinctionDTO dto = new DistinctionDTO();
|
|
|
- file = ossUtils.videoConvertImg(file);
|
|
|
- String uid = ImageUtils.readImagePix(file.getInputStream());
|
|
|
+ MultipartFile newFile = ossUtils.videoConvertImg(file);
|
|
|
+ String uid = ImageUtils.readImagePix(newFile.getInputStream());
|
|
|
dto.setUid(uid);
|
|
|
if("0".equals(orderCacheVal(CgpTool.CACHE_ORDER_PHOTO_CHECK))){
|
|
|
return dto;
|