Browse Source

pay bind phone

zz 6 years ago
parent
commit
c2e9d485a7
1 changed files with 3 additions and 3 deletions
  1. 3 3
      app/Http/Controllers/Wap/Pay/OrdersController.php

+ 3 - 3
app/Http/Controllers/Wap/Pay/OrdersController.php

@@ -770,11 +770,11 @@ class OrdersController extends Controller
         $order = (string)$order;
         $order_info = OrderService::getByTradeNo($order);
         $uid = $order_info->uid;
-        //$bind_info = UserBindPhoneService::bindInfo($uid);
-        $bind_info = false;
+        $bind_info = UserBindPhoneService::bindInfo($uid);
+        //$bind_info = false;
         $page = 'pay.order.wait';
         if(!$bind_info){
-            //$page = 'pay.order.bindPhone';
+            $page = 'pay.order.bindPhone';
         }
         $url = urldecode($request->input('redirect'));
         return view($page, compact('order', 'url','from'));