派生自 projectDept/qhighschool

EricsHu
2022-12-05 068fc7f2e81178e55fa191a13709af64b1a163f6
src/main/java/com/qxueyou/scc/school/service/impl/DocdealMsgDealService.java
@@ -16,9 +16,9 @@
import com.qxueyou.scc.school.service.IHandoutService;
/**
 * 文档处理消息队列接收服务
 * 文档处理消息队列接收服务
 * 
 * @author 德虎
 * @author 德虎
 * 
 */
@Service("DocdealMsgDealService")
@@ -42,7 +42,7 @@
//   @Override
//   public void doHandle(Message msg, ConsumeContext context) {
//      
//      //TODO 严格异常处理,两次就直接返回,暂时一次
//      //TODO 严格异常处理,两次就直接返回,暂时一次
//      try {
//         // get params
//         String docPath = msg.getUserProperties("docPath");
@@ -62,14 +62,14 @@
//               ";userId:" + msg.getUserProperties("userId") + 
//               ";uploadModule:" + msg.getUserProperties("uploadModule") ;
//
//         log.error( businessId + " :上传讲义ppt消息发送失败:" + e , e);
//         log.error( businessId + " :上传讲义ppt消息发送失败:" + e , e);
//         onsExceptionLogService.logSaveExceptionLog(getTopic(), "", businessId , desp );
//      }
//      
//   }
//   
   /**
    * 配置项ons-docdeal-receive-urls配置了多个ip地址,如果其中包含本机地址,说明支持文档处理
    * 配置项ons-docdeal-receive-urls配置了多个ip地址,如果其中包含本机地址,说明支持文档处理
    */
   protected boolean turnOn(){
      String docdealUrls =aliOnsConfig.getDocdealReceiveUrls();