From 0e766c84f6d2110b3dd92779407e414cdd1dd7b4 Mon Sep 17 00:00:00 2001 From: Dai Date: Sun, 29 Sep 2024 16:31:36 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=E5=8F=91=E5=B8=83=E8=AF=BE=E7=A8=8B?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E5=90=8E=E9=80=9A=E7=9F=A5=E5=AD=A6=E7=94=9F?= =?UTF-8?q?=E5=92=8C=E5=AE=B6=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/service/SendMsgCronJobService.php | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/common/service/SendMsgCronJobService.php b/app/common/service/SendMsgCronJobService.php index e4f45ba..796db68 100644 --- a/app/common/service/SendMsgCronJobService.php +++ b/app/common/service/SendMsgCronJobService.php @@ -681,9 +681,9 @@ class SendMsgCronJobService $send_teacher_data = [ 'touser' => $student_schedule->student_openid, - 'template_id' => 'IYIMurENbyxkQ_axIsrkjMJNb8i1AIX4qRgVUEzQX6I', + 'template_id' => 'ng-vuuY_hHM3N2fR3VCGdjGldOrwmzVVQzebRgkW4uY', 'data' => [ - 'thing1' => [//所属课程 + 'thing6' => [//课程名称 'value' => substr($student_schedule->english_name . '/' . date('m-d H:i', strtotime($student_schedule->start_time)), 0, 18) . '..', 'color' => '#000000' ], @@ -691,11 +691,11 @@ class SendMsgCronJobService 'value' => substr($student_schedule->english_name . '/' . date('m-d H:i', strtotime($student_schedule->start_time)), 0, 18) . '..', 'color' => '#000000' ], - 'thing3' => [//批改老师 + 'thing5' => [//批改老师 'value' => $student_schedule->teacher_name, 'color' => '#000000' ], - 'time8' => [//机构名称 + 'time3' => [//机构名称 'value' => $next_time, 'color' => '#000000' ] @@ -735,9 +735,9 @@ class SendMsgCronJobService if (!$parent->isEmpty()) { $send_teacher_data = [ 'touser' => $parent->openid, - 'template_id' => 'IYIMurENbyxkQ_axIsrkjMJNb8i1AIX4qRgVUEzQX6I', + 'template_id' => 'ng-vuuY_hHM3N2fR3VCGdjGldOrwmzVVQzebRgkW4uY', 'data' => [ - 'thing1' => [//所属课程 + 'thing6' => [//课程名称 'value' => substr($student_schedule->english_name . '/' . date('m-d H:i', strtotime($student_schedule->start_time)), 0, 18) . '..', 'color' => '#000000' ], @@ -745,11 +745,11 @@ class SendMsgCronJobService 'value' => substr($student_schedule->english_name . '/' . date('m-d H:i', strtotime($student_schedule->start_time)), 0, 18) . '..', 'color' => '#000000' ], - 'thing3' => [//批改老师 + 'thing5' => [//批改老师 'value' => $student_schedule->teacher_name, 'color' => '#000000' ], - 'time8' => [//机构名称 + 'time3' => [//机构名称 'value' => $next_time, 'color' => '#000000' ]