...
|
...
|
@@ -168,28 +168,27 @@ class YuyueController extends UserBaseController |
|
|
'touser' => $stu_info['openid'],
|
|
|
'topcolor' => '#7B68EE',
|
|
|
'url' => 'http://wx.youlj.cn/user/yuyue/my_yuyue',
|
|
|
'template_id' => 'kmRG7k7OOLd3m5a3sTvvMknbIySIifBtptFPxs3lgUo',
|
|
|
'template_id' => 'OPENTM401874855',
|
|
|
'data' => array(
|
|
|
'first' => array('value' => '学车预约通知'),
|
|
|
'keyword1' => array('value' => "{$data['yuyue_day']} {$data['yuyue_begin']}:00 - {$data['yuyue_end']}:00 ", 'color' => '#333366'),
|
|
|
'keyword2' => array('value' => $stu_info['kemu'], 'color' => '#0099FF'),
|
|
|
'keyword3' => array('value' => $tea_info['user_nickname'], 'color' => '#0099FF'),
|
|
|
'keyword4' => array('value' => $tea_info['mobile']),
|
|
|
'keyword5' => array('value' => '无', 'color' => '#0099FF')
|
|
|
'first' => array('value' => '您的预约成功啦'),
|
|
|
'keyword1' => array('value' => $stu_info['user_nickname'], 'color' => '#0099FF'),
|
|
|
'keyword2' => array('value' => $stu_info['mobile']),
|
|
|
'keyword3' => array('value' => "{$data['yuyue_day']} {$data['yuyue_begin']}:00 - {$data['yuyue_end']}:00 ", 'color' => '#333366'),
|
|
|
'keyword4' => array('value' => $tea_info['user_nickname']),
|
|
|
'remark' => array('value' => "点击查看预约")
|
|
|
)
|
|
|
];
|
|
|
$param2 = [
|
|
|
'touser' => $tea_info['openid'],
|
|
|
'topcolor' => '#7B68EE',
|
|
|
'url' => 'http://wx.youlj.cn/user/yuyue/my_yuyue',
|
|
|
'template_id' => 'kmRG7k7OOLd3m5a3sTvvMknbIySIifBtptFPxs3lgUo',
|
|
|
'template_id' => 'OPENTM401874855',
|
|
|
'data' => array(
|
|
|
'first' => array('value' => '学车预约通知'),
|
|
|
'keyword1' => array('value' => "{$data['yuyue_day']} {$data['yuyue_begin']}:00 - {$data['yuyue_end']}:00 ", 'color' => '#333366'),
|
|
|
'keyword2' => array('value' => $stu_info['kemu'], 'color' => '#0099FF'),
|
|
|
'keyword3' => array('value' => $stu_info['user_nickname'], 'color' => '#0099FF'),
|
|
|
'keyword4' => array('value' => $stu_info['mobile']),
|
|
|
'keyword5' => array('value' => '无', 'color' => '#0099FF')
|
|
|
'first' => array('value' => '有新的学员预约啦'),
|
|
|
'keyword1' => array('value' => $stu_info['user_nickname'], 'color' => '#0099FF'),
|
|
|
'keyword2' => array('value' => $stu_info['mobile']),
|
|
|
'keyword3' => array('value' => "{$data['yuyue_day']} {$data['yuyue_begin']}:00 - {$data['yuyue_end']}:00 ", 'color' => '#333366'),
|
|
|
'keyword4' => array('value' => "点击查看预约并确认预约")
|
|
|
)
|
|
|
];
|
|
|
|
...
|
...
|
|