浏览代码

update logger

deason 2 年之前
父节点
当前提交
f198620bc5

+ 1 - 0
examcloud-core-oe-student-service/src/main/java/cn/com/qmth/examcloud/core/oe/student/service/impl/ExamCaptureServiceImpl.java

@@ -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);