Jelajahi Sumber

下载报告kafka

24753255@qq.com 5 bulan lalu
induk
melakukan
b9e708374b
1 mengubah file dengan 2 tambahan dan 2 penghapusan
  1. 2 2
      protected/controllers/ExportController.php

+ 2 - 2
protected/controllers/ExportController.php

@@ -3753,13 +3753,13 @@ join class c on e.class_id = c.class_id where e.class_id = '{$classId}' and e.ex
 //            $stompconn = new Stomp(Yii::app()->params["stomp_address"]);
 //            $stompconn->send("academic.batchDownloadAchievementReportWord", $pushData);
 
-            sendDataToKafka('zsyte-academic-batch-download-achievement-report-word',$pushData);
+            sendDataToKafka(' xbkc-academic-batch-download-achievement-report-word',$pushData);
             unset($stompconn);
         }elseif ($download_type==2){
             $pushData=array('id'=>$taskId);
 //            $stompconn = new Stomp(Yii::app()->params["stomp_address"]);
 //            $stompconn->send("academic.batchDownloadAchievementReportExcel", $pushData);
-            sendDataToKafka('zsyte-academic-batch-download-achievement-report-excel',$pushData);
+            sendDataToKafka('xbkc-academic-batch-download-achievement-report-excel',$pushData);
             unset($stompconn);
         }
         $result['status']=1;