作者 郭文星

111

@@ -148,7 +148,7 @@ class Index extends Api @@ -148,7 +148,7 @@ class Index extends Api
148 ); 148 );
149 if ($wxopenid) { 149 if ($wxopenid) {
150 $config = get_addon_config('wechat'); 150 $config = get_addon_config('wechat');
151 - $tourl = 'https://wyc.tenyes.cn/index/index/orderinfo?id='.$order['user_id']; 151 + $tourl = 'https://wyc.tenyes.cn/index/index/orderinfo?id='.$order_id;
152 $ywt_appid = ''; 152 $ywt_appid = '';
153 $pagepath =''; 153 $pagepath ='';
154 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); 154 $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath);