|
@@ -206,6 +206,7 @@ public class ExamCaptureServiceImpl implements ExamCaptureService {
|
|
|
if (student.getPhotoPath().contains("upyun.qmth.com.cn")) {
|
|
|
// 兼容又拍云旧图片路径
|
|
|
basePhoto = new ImageBase64Parm(CommonUtils.toBase64(student.getPhotoPath()));
|
|
|
+ log.warn("old data basePhotoUrl:{}", student.getPhotoPath());
|
|
|
} else {
|
|
|
String basePhotoUrl = ossClient.valueOfOssFilePath(student.getPhotoPath());
|
|
|
byte[] basePhotoBytes = ossClient.download(basePhotoUrl);
|