|
@@ -68,9 +68,13 @@ public class CameraCaptureService {
|
|
|
byteArrayOutputStream.write(bytes,0,index);
|
|
|
}
|
|
|
ByteArrayInputStream byteArrayInputStream = new ByteArrayInputStream(byteArrayOutputStream.toByteArray());
|
|
|
- log.info("getCapture======" + fileName);
|
|
|
+ if (log.isDebugEnabled()) {
|
|
|
+ log.debug("getCapture======" + fileName);
|
|
|
+ }
|
|
|
minioUtils.minIoClientUpload(byteArrayInputStream, fileName);
|
|
|
- System.out.println("fileName"+fileName+"图片结束截图时间"+new Date());
|
|
|
+ if (log.isDebugEnabled()) {
|
|
|
+ log.debug("fileName"+fileName+"图片结束截图时间"+new Date());
|
|
|
+ }
|
|
|
String uploadUrl = "/data/test_picture/"+ IdUtils.fastSimpleUUID()+".jpeg";
|
|
|
//File targetVideoDir = new File(uploadUrl);
|
|
|
fileUploader.transfer(uploadUrl,bytes);
|