Browse Source

下载报告kafka

24753255@qq.com 5 months ago
parent
commit
b9e708374b
1 changed files with 2 additions and 2 deletions
  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;