|
@@ -64,9 +64,9 @@ public class CameraCaptureService {
|
|
|
}
|
|
|
ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
|
|
|
log.info("getCapture======" + fileName);
|
|
|
- System.out.println("fileName"+fileName+"图片开始截图时间"+new Date()+"--数组大小"+bytes.length);
|
|
|
+ log.info("fileName"+fileName+"图片开始截图时间"+new Date()+"--数组大小"+bytes.length);
|
|
|
minioUtils.minIoClientUpload(byteArrayInputStream, fileName);
|
|
|
- System.out.println("fileName"+fileName+"图片结束截图时间"+new Date());
|
|
|
+ log.info("fileName"+fileName+"图片结束截图时间"+new Date());
|
|
|
}
|
|
|
} catch (Exception e) {
|
|
|
//先关闭外层的缓冲流,再关闭内层的流,但是在关闭外层流的同时,
|