正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
@@ -124,7 +124,7 @@ class Index extends Api | @@ -124,7 +124,7 @@ class Index extends Api | ||
124 | if ($wxopenid) { | 124 | if ($wxopenid) { |
125 | $config = get_addon_config('wechat'); | 125 | $config = get_addon_config('wechat'); |
126 | $tourl = 'https://wyc.tenyes.cn/index/index/orderinfo?id='.$order_id; | 126 | $tourl = 'https://wyc.tenyes.cn/index/index/orderinfo?id='.$order_id; |
127 | - $ywt_appid = 'wx58ceff4e93cfc523'; | 127 | + $ywt_appid = ''; |
128 | $pagepath =''; | 128 | $pagepath =''; |
129 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 129 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
130 | //print_r($res);return; | 130 | //print_r($res);return; |
@@ -147,7 +147,7 @@ class Index extends Api | @@ -147,7 +147,7 @@ class Index extends Api | ||
147 | ); | 147 | ); |
148 | if ($wxopenid) { | 148 | if ($wxopenid) { |
149 | $config = get_addon_config('wechat'); | 149 | $config = get_addon_config('wechat'); |
150 | - $ywt_appid = ''; | 150 | + $ywt_appid = 'wx58ceff4e93cfc523'; |
151 | $tourl = ''; | 151 | $tourl = ''; |
152 | $pagepath ='pages/module/cityOrders?params='.json_encode($order); | 152 | $pagepath ='pages/module/cityOrders?params='.json_encode($order); |
153 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 153 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
-
请 注册 或 登录 后发表评论