作者 郭文星

123

@@ -330,7 +330,7 @@ class Api extends Controller @@ -330,7 +330,7 @@ class Api extends Controller
330 $access_token = $access_tokens['access_token']; 330 $access_token = $access_tokens['access_token'];
331 $template = array( 331 $template = array(
332 'touser' => $openid, // 332 'touser' => $openid, //
333 - 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEsAstMsz4LzJA0NSSAtqu2A', //模板消息id 必须修改 333 + 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改
334 'url' => $tourl, //点击链接 334 'url' => $tourl, //点击链接
335 "miniprogram" => [], 335 "miniprogram" => [],
336 'topcolor' => "#173177", 336 'topcolor' => "#173177",
@@ -213,7 +213,7 @@ function sendAstuWxMsgToAgent($info, $openid, $tourl, $appid, $secret, $ywt_appi @@ -213,7 +213,7 @@ function sendAstuWxMsgToAgent($info, $openid, $tourl, $appid, $secret, $ywt_appi
213 213
214 $template = array( 214 $template = array(
215 'touser' => $openid, // 215 'touser' => $openid, //
216 - 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEsAstMsz4LzJA0NSSAtqu2A', //模板消息id 必须修改 216 + 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改
217 'url' => $tourl, //点击链接 217 'url' => $tourl, //点击链接
218 "miniprogram" => [ 218 "miniprogram" => [
219 "appid" => $ywt_appid, 219 "appid" => $ywt_appid,
@@ -248,6 +248,7 @@ if (!function_exists('senWxmsgToDriverUser')) { @@ -248,6 +248,7 @@ if (!function_exists('senWxmsgToDriverUser')) {
248 'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'), 248 'thing2' => array('value' => "{$order['starting_point']}-{$order['end_point']}", 'color' => '#173177'),
249 'time3' => array('value' =>urlencode(date('Y-m-d H:i:s', $order['departure_time'])), 'color' => '#173177'), 249 'time3' => array('value' =>urlencode(date('Y-m-d H:i:s', $order['departure_time'])), 'color' => '#173177'),
250 'thing7' => array('value' =>"{$order['starting_point']}", 'color' => '#173177'), 250 'thing7' => array('value' =>"{$order['starting_point']}", 'color' => '#173177'),
  251 + 'thing8' => array('value' => "李师傅云H12E41", 'color' => '#173177'),
251 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'), 252 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'),
252 ); 253 );
253 if ($wxopenid) { 254 if ($wxopenid) {
@@ -244,7 +244,7 @@ class Index extends Api @@ -244,7 +244,7 @@ class Index extends Api
244 $access_token = $access_tokens['access_token']; 244 $access_token = $access_tokens['access_token'];
245 $template = array( 245 $template = array(
246 'touser' => $openid, // 246 'touser' => $openid, //
247 - 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEsAstMsz4LzJA0NSSAtqu2A', //模板消息id 必须修改 247 + 'template_id' => 'zQaLnhEOQxdGOKJlDUAfEl8sL4a3qchtiXtP-n_rupI', //模板消息id 必须修改
248 'url' => $tourl, //点击链接 248 'url' => $tourl, //点击链接
249 "miniprogram" => [], 249 "miniprogram" => [],
250 'topcolor' => "#173177", 250 'topcolor' => "#173177",