fix 上传课程文件通知家长、学生
This commit is contained in:
parent
35f2f50e31
commit
4c881e08eb
@ -1237,7 +1237,7 @@ class SendMsgCronJobService
|
|||||||
'en_end_time' => $subject_homework->en_end_time,
|
'en_end_time' => $subject_homework->en_end_time,
|
||||||
'send_role' => 'student',
|
'send_role' => 'student',
|
||||||
'send_data' => json_encode($send_teacher_data, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES),
|
'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' => $result['code'] == ResponseCode::SUCCESS ? 1 : 0,
|
||||||
'send_result_msg' => $result['msg'],
|
'send_result_msg' => $result['msg'],
|
||||||
]);
|
]);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user