作者 郭文星

123

@@ -114,7 +114,7 @@ class Index extends Api @@ -114,7 +114,7 @@ class Index extends Api
114 $config = get_addon_config('wechat'); 114 $config = get_addon_config('wechat');
115 $tourl = ''; 115 $tourl = '';
116 $ywt_appid = 'wxb7dd0c03865a94e0'; 116 $ywt_appid = 'wxb7dd0c03865a94e0';
117 - $pagepath ='pages/index/index'; 117 + $pagepath ='/pages/index/index';
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);