作者 郭文星

1231

... ... @@ -124,7 +124,6 @@ class Index extends Api
if ($wxopenid) {
$config = get_addon_config('wechat');
$tourl = 'https://wyc.tenyes.cn/index/index/orderinfo?id='.$order_id;
$ywt_appid = 'wx58ceff4e93cfc523';
$pagepath ='';
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
... ... @@ -151,8 +150,6 @@ class Index extends Api
$ywt_appid = '';
$tourl = '';
$pagepath ='pages/module/cityOrders?params='.json_encode($order);
$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);
... ...