...
|
...
|
@@ -213,7 +213,7 @@ function sendAstuWxMsgToAgent($info, $openid, $tourl, $appid, $secret, $ywt_appi |
|
|
|
|
|
$template = array(
|
|
|
'touser' => $openid, //
|
|
|
'template_id' => 'zQaLnhEOQxdGOKJlDUAfEsAstMsz4LzJA0NSSAtqu2A', //模板消息id 必须修改
|
|
|
'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改
|
|
|
'url' => $tourl, //点击链接
|
|
|
"miniprogram" => [
|
|
|
"appid" => $ywt_appid,
|
...
|
...
|
@@ -248,6 +248,7 @@ if (!function_exists('senWxmsgToDriverUser')) { |
|
|
'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'),
|
|
|
'time3' => array('value' =>urlencode(date('Y-m-d H:i:s', $order['departure_time'])), 'color' => '#173177'),
|
|
|
'thing7' => array('value' =>"{$order['starting_point']}", 'color' => '#173177'),
|
|
|
'thing8' => array('value' => "李师傅云H12E41", 'color' => '#173177'),
|
|
|
'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
|
|
|
);
|
|
|
if ($wxopenid) {
|
...
|
...
|
|