作者 郭文星

123123

@@ -86,7 +86,6 @@ class Index extends Api @@ -86,7 +86,6 @@ class Index extends Api
86 if ($accessToken) { 86 if ($accessToken) {
87 $path = 'pages/index/index'; // 小程序内的页面路径 87 $path = 'pages/index/index'; // 小程序内的页面路径
88 $qrCodeData = $this->createMiniProgramQRCode($accessToken, $path); 88 $qrCodeData = $this->createMiniProgramQRCode($accessToken, $path);
89 - print_r($qrCodeData);return;  
90 return $qrCodeData; 89 return $qrCodeData;
91 } 90 }
92 } 91 }
@@ -115,8 +114,6 @@ class Index extends Api @@ -115,8 +114,6 @@ class Index extends Api
115 $ywt_appid = 'wxb7dd0c03865a94e0'; 114 $ywt_appid = 'wxb7dd0c03865a94e0';
116 $pagepath = ''; 115 $pagepath = '';
117 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); 116 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
118 -  
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); 117 //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);
121 } 118 }
122 } 119 }