Commit c8ddcbcc authored by alex yao's avatar alex yao

fix

parent 59d2bf12
......@@ -123,6 +123,7 @@ public class OcrConsumerServiceImpl implements OcrConsumerService {
String md5 = MD5.create().digestHex(bytes);
String upload = bosConfigService.uploadFileByByteArray2Oss(bytes, fileName, suffix);
tempFile.delete();
BizFileUploadRecordModel bizFileUploadRecordModel = new BizFileUploadRecordModel();
bizFileUploadRecordModel.setFileName(fileName);
bizFileUploadRecordModel.setFileUrl(upload);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment