From f78c864cbd2111366d2a3fa90a7bf9d61f003afb Mon Sep 17 00:00:00 2001 From: Dai Date: Thu, 26 Sep 2024 10:41:55 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=99=E5=B8=88=E7=A9=BA=E9=97=B2=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E6=8F=90=E4=BA=A4=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 | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/app/common/service/SendMsgCronJobService.php b/app/common/service/SendMsgCronJobService.php index aaecbd8..813ad40 100644 --- a/app/common/service/SendMsgCronJobService.php +++ b/app/common/service/SendMsgCronJobService.php @@ -889,18 +889,14 @@ class SendMsgCronJobService } $send_teacher_data = [ 'touser' => $teacher->openid,//@todo:发送人 - 'template_id' => 'MGAdXtRAJ7qE8hRxFu3fWZvj8bBR-oNxx-1lenpCSAI', + 'template_id' => 'c449J4JWJrj5fRbw9H5jVpPK_U9OWekhOjzpvGmbjQg', 'data' => [ - 'thing2' => [//课程名称 - 'value' => 'Submit free time', - 'color' => '#000000' - ], - 'thing3' => [//任课教师 + 'short_thing4' => [//教师姓名 'value' => $teacher->teacher_name, 'color' => '#000000' ], - 'const11' => [//上课老师 - 'value' => 'Submit class time!', + 'character_string14' => [//课次 + 'value' => 'Please submit your free time', 'color' => '#000000' ] ], @@ -930,4 +926,4 @@ class SendMsgCronJobService } } -} \ No newline at end of file +}