From 4c881e08eb3178df9ef2bf90fe8cf0a508c0f568 Mon Sep 17 00:00:00 2001 From: Dai Date: Mon, 7 Oct 2024 23:26:43 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E4=B8=8A=E4=BC=A0=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E9=80=9A=E7=9F=A5=E5=AE=B6=E9=95=BF=E3=80=81?= =?UTF-8?q?=E5=AD=A6=E7=94=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/SendMsgCronJobService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/common/service/SendMsgCronJobService.php b/app/common/service/SendMsgCronJobService.php index 9376f6d..3eab20b 100644 --- a/app/common/service/SendMsgCronJobService.php +++ b/app/common/service/SendMsgCronJobService.php @@ -1237,7 +1237,7 @@ class SendMsgCronJobService 'en_end_time' => $subject_homework->en_end_time, 'send_role' => 'student', 'send_data' => json_encode($send_teacher_data, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES), - 'msg_info' => json_encode($subject_homework->toArray(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES), + 'msg_info' => json_encode(['student_schedule'=>$student_schedule->toArray(),'subject_homework'=>$subject_homework->toArray()], JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES), 'send_result' => $result['code'] == ResponseCode::SUCCESS ? 1 : 0, 'send_result_msg' => $result['msg'], ]);