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