fix bug
This commit is contained in:
parent
cb42fec068
commit
052ece9ff1
@ -159,10 +159,10 @@ class SendMsgCronJobService
|
|||||||
|
|
||||||
$student_name = implode(',', array_column($student_info, 'student_name'));
|
$student_name = implode(',', array_column($student_info, 'student_name'));
|
||||||
|
|
||||||
foreach ($student_info as $student) {
|
foreach ($student_info as $item) {
|
||||||
|
|
||||||
$send_teacher_data = [
|
$send_teacher_data = [
|
||||||
'touser' => $student->openid,
|
'touser' => $item['openid'],
|
||||||
'template_id' => 'gTtXWz35mjbtbOZdq6uNBIqy2_W-gu7F4H6s5N-vNAI',
|
'template_id' => 'gTtXWz35mjbtbOZdq6uNBIqy2_W-gu7F4H6s5N-vNAI',
|
||||||
'data' => [
|
'data' => [
|
||||||
'time2' => [//上课时间
|
'time2' => [//上课时间
|
||||||
|
Loading…
x
Reference in New Issue
Block a user