作者 郭文星

123123

... ... @@ -86,7 +86,6 @@ class Index extends Api
if ($accessToken) {
$path = 'pages/index/index'; // 小程序内的页面路径
$qrCodeData = $this->createMiniProgramQRCode($accessToken, $path);
print_r($qrCodeData);return;
return $qrCodeData;
}
}
... ... @@ -115,8 +114,6 @@ class Index extends Api
$ywt_appid = 'wxb7dd0c03865a94e0';
$pagepath = '';
$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);
}
}
... ...