fix 家庭作业发布时的角色应为教师
This commit is contained in:
parent
683a926edf
commit
98432d75d7
@ -902,7 +902,7 @@ class SendMsgCronJobService
|
||||
'end_time' => $student_homework->end_time,
|
||||
'en_start_time' => $student_homework->en_start_time,
|
||||
'en_end_time' => $student_homework->en_end_time,
|
||||
'send_role' => 'student',
|
||||
'send_role' => 'teacher',
|
||||
'send_data' => json_encode($send_teacher_data, JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES),
|
||||
'msg_info' => json_encode($student_homework->toArray(), JSON_UNESCAPED_UNICODE | JSON_UNESCAPED_SLASHES),
|
||||
'send_result' => $result['code'] == ResponseCode::SUCCESS ? 1 : 0,
|
||||
|
Loading…
x
Reference in New Issue
Block a user