正在显示
3 个修改的文件
包含
8 行增加
和
8 行删除
@@ -314,8 +314,8 @@ class Api extends Controller | @@ -314,8 +314,8 @@ class Api extends Controller | ||
314 | if ($wxopenid) { | 314 | if ($wxopenid) { |
315 | $config = get_addon_config('wechat'); | 315 | $config = get_addon_config('wechat'); |
316 | $tourl = ''; | 316 | $tourl = ''; |
317 | - $ywt_appid = 'wxb7dd0c03865a94e0'; | ||
318 | - $pagepath = 'pages/index/index'; | 317 | + $ywt_appid = 'wx58ceff4e93cfc523'; |
318 | + $pagepath ='pages/module/cityOrders?order_id='.$order_id; | ||
319 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 319 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
320 | //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); | 320 | //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); |
321 | } | 321 | } |
@@ -257,8 +257,8 @@ if (!function_exists('senWxmsgToDriverUser')) { | @@ -257,8 +257,8 @@ if (!function_exists('senWxmsgToDriverUser')) { | ||
257 | if ($wxopenid) { | 257 | if ($wxopenid) { |
258 | $config = get_addon_config('wechat'); | 258 | $config = get_addon_config('wechat'); |
259 | $tourl = ''; | 259 | $tourl = ''; |
260 | - $ywt_appid = 'wxb7dd0c03865a94e0'; | ||
261 | - $pagepath = 'pages/index/index'; | 260 | + $ywt_appid = 'wx58ceff4e93cfc523'; |
261 | + $pagepath ='pages/module/cityOrders?order_id='.$order_id; | ||
262 | $res = sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 262 | $res = sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
263 | print_r($res);return; | 263 | print_r($res);return; |
264 | //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); | 264 | //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 | @@ -113,8 +113,8 @@ class Index extends Api | ||
113 | if ($wxopenid) { | 113 | if ($wxopenid) { |
114 | $config = get_addon_config('wechat'); | 114 | $config = get_addon_config('wechat'); |
115 | $tourl = ''; | 115 | $tourl = ''; |
116 | - $ywt_appid = 'wxb7dd0c03865a94e0'; | ||
117 | - $pagepath ='/pages/index/index'; | 116 | + $ywt_appid = 'wx58ceff4e93cfc523'; |
117 | + $pagepath ='pages/module/cityOrders?order_id='.$order_id; | ||
118 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 118 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
119 | //print_r($res);return; | 119 | //print_r($res);return; |
120 | //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); | 120 | //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 | @@ -137,8 +137,8 @@ class Index extends Api | ||
137 | if ($wxopenid) { | 137 | if ($wxopenid) { |
138 | $config = get_addon_config('wechat'); | 138 | $config = get_addon_config('wechat'); |
139 | $tourl = ''; | 139 | $tourl = ''; |
140 | - $ywt_appid = 'wxb7dd0c03865a94e0'; | ||
141 | - $pagepath = 'pages/index/index'; | 140 | + $ywt_appid = 'wx58ceff4e93cfc523'; |
141 | + $pagepath ='pages/module/cityOrders?order_id='.$order_id; | ||
142 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 142 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
143 | //print_r($res);return; | 143 | //print_r($res);return; |
144 | //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); | 144 | //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); |
-
请 注册 或 登录 后发表评论