作者 郭文星

123

... ... @@ -330,7 +330,7 @@ class Api extends Controller
$access_token = $access_tokens['access_token'];
$template = array(
'touser' => $openid, //
'template_id' => 'zQaLnhEOQxdGOKJlDUAfEsAstMsz4LzJA0NSSAtqu2A', //模板消息id 必须修改
'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改
'url' => $tourl, //点击链接
"miniprogram" => [],
'topcolor' => "#173177",
... ...
... ... @@ -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) {
... ...
... ... @@ -244,7 +244,7 @@ class Index extends Api
$access_token = $access_tokens['access_token'];
$template = array(
'touser' => $openid, //
'template_id' => 'zQaLnhEOQxdGOKJlDUAfEsAstMsz4LzJA0NSSAtqu2A', //模板消息id 必须修改
'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改
'url' => $tourl, //点击链接
"miniprogram" => [],
'topcolor' => "#173177",
... ...