From 976aa8cea5406e7a50fb4db66c24fd7b75a40248 Mon Sep 17 00:00:00 2001 From: Dai Date: Wed, 9 Oct 2024 11:46:07 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E8=AF=BE=E7=A8=8B=E6=8A=A5=E5=91=8A?= =?UTF-8?q?=E5=8F=91=E9=80=81=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/SendMsgCronJobService.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/common/service/SendMsgCronJobService.php b/app/common/service/SendMsgCronJobService.php index 496c928..e9a9c5e 100644 --- a/app/common/service/SendMsgCronJobService.php +++ b/app/common/service/SendMsgCronJobService.php @@ -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 '
';
+                print_r($send_teacher_data);
+                die;
+
 
                 $result = (new WechatSubscriptService())->sendMsg($send_teacher_data);
                 //@todo:写入日志中