Explorar el Código

Merge branch 'zhucj' of iqiyoo:zhuishuyun_wap into zhucj

onlinetest hace 3 años
padre
commit
52300e606f
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  1. 4 1
      app/Http/Controllers/QuickApp/Book/BookController.php

+ 4 - 1
app/Http/Controllers/QuickApp/Book/BookController.php

@@ -191,10 +191,13 @@ class BookController extends BaseController
         $user =  (new QappUserService)->getGolableUser();
 
         if(isset($user->uid) && !empty($user->uid)){
-            if(!$this->uid || (isset($this->uid) && !$this->send_order_id)){
+
+            if(!$this->uid || (isset($this->uid) && (!$this->send_order_id) || $this->send_order_id == 0)){
+                \Log::info('un_send_order_book:uid:'.$this->uid);
                 $result = $this->getCheckBids($channel,$books);
                 return response()->success($result);
             }
+            \Log::info('send_order_book:uid:'.$this->uid);
             $hotBids   = RecommendService::getRecommendIdsStatic($channel, 'hot');
             $liveBids  = RecommendService::getRecommendIdsStatic($channel, 'live');
             $recomBids = RecommendService::getRecommendIdsStatic($channel, 'recom');