康鲁杰
2025-04-21 f63321012898d974c69527b5aa9d1457aa02f2c7
easegen-front/src/views/chooseTemplate/index.vue
@@ -1119,6 +1119,7 @@
        }
        percentagePPT.value = parseInt(`${progress * 100}`)
      } else if (res && res.length > 0) {
        console.log('解析成功', res)
        console.log('courseInfo', courseInfo.value)
        res.forEach((item) => {
          item.isActive = false
@@ -1455,7 +1456,7 @@
  //向原始ppt添加数据,用作后续ppt中是否包含人脸的数据校验原始数据
  const InitPpt = PPTArr.value.map( (item)=>{
      return item.innerPicture.src
  } )
  } )
  const { detectFacesInImages } = useFaceDetection()
  const IsHaveFace = await detectFacesInImages(InitPpt)
  if( IsHaveFace ){
yudao-module-digitalcourse/yudao-module-digitalcourse-biz/src/main/java/cn/iocoder/yudao/module/digitalcourse/service/coursemedia/CourseMediaServiceUtil.java
@@ -373,7 +373,7 @@
                    result = data.getString("result");
                    System.out.println("任务已完成,结果文件路径: " + result);
                } else if (status == 3){
                    throw new RuntimeException("任务失败,请联系管理员");
                    throw new RuntimeException(data.getString("msg"));
                }else {
                    System.out.println("任务尚未完成,当前进度: " + data.getIntValue("progress") + "%");
                }