|
@@ -979,7 +979,7 @@
|
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
|
}
|
|
|
|
|
@@ -1667,7 +1667,7 @@
|
|
|
'examGroupId'=>$Exam_GroupId,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
$this->sendNoticeToReport($Exam_GroupId);
|
|
|
if(Yii::app()->params['handle_log_on_off'])
|
|
|
{
|
|
@@ -1833,7 +1833,7 @@
|
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
//发送学生端消息
|
|
|
$sendJsonArr=array(
|
|
@@ -1984,7 +1984,7 @@
|
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
echo 1;exit;
|
|
|
} catch (Exception $e) {
|
|
|
$transaction->rollback();
|
|
@@ -2218,7 +2218,7 @@
|
|
|
'examGroupId'=>$exam_group_id,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
echo 1;exit;
|
|
|
} catch (Exception $e) {
|
|
|
$transaction->rollback();
|
|
@@ -2790,7 +2790,7 @@
|
|
|
'examGroupId'=>$Exam_GroupId,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
if(Yii::app()->params['handle_log_on_off'])
|
|
|
{
|
|
|
writeFileLog(jsonEncode(array(
|
|
@@ -3176,7 +3176,7 @@
|
|
|
'examGroupId'=>$Exam_GroupId,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
} catch (Exception $e) {
|
|
|
//如果操作失败, 数据回滚
|
|
|
$transaction->rollback();
|
|
@@ -3485,7 +3485,7 @@
|
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
|
|
|
|
//发送学生端消息
|
|
@@ -3641,7 +3641,7 @@
|
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
|
|
|
if(isset($examGroupData) && $examGroupData->homework==1){
|
|
|
//发送学生端消息
|
|
@@ -4059,7 +4059,7 @@
|
|
|
'examGroupId'=>$examGroupId,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
} catch (Exception $e) {
|
|
|
//如果操作失败, 数据回滚
|
|
|
$transaction->rollback();
|
|
@@ -4316,7 +4316,7 @@
|
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
|
|
|
|
//发送学生端消息
|
|
@@ -4466,7 +4466,7 @@
|
|
|
'examGroupId'=>$exam_data->exam_group_id,
|
|
|
'generateTime'=>time()*1000
|
|
|
);
|
|
|
- sendDataToKafka("zsyte-academic-offline-generate-report",$kafkaData);
|
|
|
+ sendDataToKafka("xbkc-academic-offline-generate-report",$kafkaData);
|
|
|
$this->sendNoticeToReport($exam_data->exam_group_id);
|
|
|
|
|
|
//发送学生端消息
|