作者 郭文星

12311

... ... @@ -314,8 +314,8 @@ class Api extends Controller
if ($wxopenid) {
$config = get_addon_config('wechat');
$tourl = '';
$ywt_appid = 'wxb7dd0c03865a94e0';
$pagepath = 'pages/index/index';
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='pages/module/cityOrders?order_id='.$order_id;
$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);
}
... ...
... ... @@ -257,8 +257,8 @@ if (!function_exists('senWxmsgToDriverUser')) {
if ($wxopenid) {
$config = get_addon_config('wechat');
$tourl = '';
$ywt_appid = 'wxb7dd0c03865a94e0';
$pagepath = 'pages/index/index';
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='pages/module/cityOrders?order_id='.$order_id;
$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);
... ...
... ... @@ -113,8 +113,8 @@ class Index extends Api
if ($wxopenid) {
$config = get_addon_config('wechat');
$tourl = '';
$ywt_appid = 'wxb7dd0c03865a94e0';
$pagepath ='/pages/index/index';
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='pages/module/cityOrders?order_id='.$order_id;
$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);
... ... @@ -137,8 +137,8 @@ class Index extends Api
if ($wxopenid) {
$config = get_addon_config('wechat');
$tourl = '';
$ywt_appid = 'wxb7dd0c03865a94e0';
$pagepath = 'pages/index/index';
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='pages/module/cityOrders?order_id='.$order_id;
$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);
... ...