正在显示
1 个修改的文件
包含
2 行增加
和
1 行删除
@@ -147,10 +147,11 @@ class Index extends Api | @@ -147,10 +147,11 @@ class Index extends Api | ||
147 | 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'), | 147 | 'phone_number5' => array('value' => "{$order['phone']}", 'color' => '#173177'), |
148 | ); | 148 | ); |
149 | if ($wxopenid) { | 149 | if ($wxopenid) { |
150 | + $order_review=Db::name("order_review")->where("id",$order['order_review_id'])->find(); | ||
150 | $config = get_addon_config('wechat'); | 151 | $config = get_addon_config('wechat'); |
151 | $ywt_appid = 'wx58ceff4e93cfc523'; | 152 | $ywt_appid = 'wx58ceff4e93cfc523'; |
152 | $tourl = ''; | 153 | $tourl = ''; |
153 | - $pagepath ='pages/module/orderDetails?params='.json_encode($order); | 154 | + $pagepath ='pages/module/orderDetails?params='.json_encode($order_review); |
154 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); | 155 | $res = $this->sendAstuWxMsgToAgent($sendInfo, $wxopenid, $tourl, $config['app_id'], $config['secret'], $ywt_appid, $pagepath); |
155 | print_r(json_encode($order));return; | 156 | print_r(json_encode($order));return; |
156 | 157 |
-
请 注册 或 登录 后发表评论