作者 郭文星

123

@@ -107,7 +107,7 @@ class Index extends Api @@ -107,7 +107,7 @@ class Index extends Api
107 $config = get_addon_config('wechat'); 107 $config = get_addon_config('wechat');
108 $tourl = 'https://fdc.xp.yn.cn/h5/'; 108 $tourl = 'https://fdc.xp.yn.cn/h5/';
109 $ywt_appid = 'wxb7dd0c03865a94e0'; 109 $ywt_appid = 'wxb7dd0c03865a94e0';
110 - $pagepath = 'pages/home/index'; 110 + $pagepath = '';
111 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); 111 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
112 print_r($res);return; 112 print_r($res);return;
113 //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 //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);