作者 郭文星

123

... ... @@ -124,7 +124,7 @@ 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';
$ywt_appid = '';
$pagepath ='';
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
//print_r($res);return;
... ... @@ -147,7 +147,7 @@ class Index extends Api
);
if ($wxopenid) {
$config = get_addon_config('wechat');
$ywt_appid = '';
$ywt_appid = 'wx58ceff4e93cfc523';
$tourl = '';
$pagepath ='pages/module/cityOrders?params='.json_encode($order);
$res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);
... ...