作者 郭文星

1231

... ... @@ -315,7 +315,7 @@ class Api extends Controller
$config = get_addon_config('wechat');
$tourl = '';
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='pages/module/cityOrders?order_id='.$order_id;
$pagepath ='pages/module/cityOrders?params='.json_encode($order);
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
//file_put_contents("pcl_wct_send.log", date("Y-m-d H:i:s") . "1-2-" . json_encode($res, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND);
}
... ...
... ... @@ -258,7 +258,7 @@ if (!function_exists('senWxmsgToDriverUser')) {
$config = get_addon_config('wechat');
$tourl = '';
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='pages/module/cityOrders?order_id='.$order_id;
$pagepath ='pages/module/cityOrders?params='.json_encode($order);
$res = sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
print_r($res);return;
//file_put_contents("pcl_wct_send.log", date("Y-m-d H:i:s") . "1-2-" . json_encode($res, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND);
... ...
... ... @@ -114,7 +114,7 @@ class Index extends Api
$config = get_addon_config('wechat');
$tourl = '';
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='pages/module/cityOrders?order_id='.$order_id;
$pagepath ='pages/module/cityOrders?params='.json_encode($order);
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
//print_r($res);return;
//file_put_contents("pcl_wct_send.log", date("Y-m-d H:i:s") . "1-2-" . json_encode($res, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND);
... ... @@ -138,7 +138,7 @@ class Index extends Api
$config = get_addon_config('wechat');
$tourl = '';
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='pages/module/cityOrders?order_id='.$order_id;
$pagepath ='pages/module/cityOrders?params='.json_encode($order);
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
//print_r($res);return;
//file_put_contents("pcl_wct_send.log", date("Y-m-d H:i:s") . "1-2-" . json_encode($res, JSON_UNESCAPED_UNICODE) . PHP_EOL, FILE_APPEND);
... ...