fix 课程报告发送通知
This commit is contained in:
parent
5c45ee8740
commit
976aa8cea5
@ -1033,8 +1033,7 @@ class SendMsgCronJobService
|
||||
$next_time = '作业提交时间为下次上课前';//不能没有值
|
||||
}
|
||||
|
||||
|
||||
if (!empty($subject_homework->subject_file_url)) {
|
||||
if (!empty($subject_homework->subject_report_version_url)) {
|
||||
|
||||
$send_teacher_data = [
|
||||
'touser' => $student_schedule->student_openid,
|
||||
@ -1063,6 +1062,10 @@ class SendMsgCronJobService
|
||||
"lang" => "zh_CN",
|
||||
];
|
||||
|
||||
print '<pre>';
|
||||
print_r($send_teacher_data);
|
||||
die;
|
||||
|
||||
|
||||
$result = (new WechatSubscriptService())->sendMsg($send_teacher_data);
|
||||
//@todo:写入日志中
|
||||
|
Loading…
x
Reference in New Issue
Block a user