...
|
...
|
@@ -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);
|
...
|
...
|
|