zhuchengjie %!s(int64=3) %!d(string=hai) anos
pai
achega
0296c5e9c0
Modificáronse 1 ficheiros con 4 adicións e 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();
         $user =  (new QappUserService)->getGolableUser();
 
 
         if(isset($user->uid) && !empty($user->uid)){
         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);
                 $result = $this->getCheckBids($channel,$books);
                 return response()->success($result);
                 return response()->success($result);
             }
             }
+            \Log::info('send_order_book:uid:'.$this->uid);
             $hotBids   = RecommendService::getRecommendIdsStatic($channel, 'hot');
             $hotBids   = RecommendService::getRecommendIdsStatic($channel, 'hot');
             $liveBids  = RecommendService::getRecommendIdsStatic($channel, 'live');
             $liveBids  = RecommendService::getRecommendIdsStatic($channel, 'live');
             $recomBids = RecommendService::getRecommendIdsStatic($channel, 'recom');
             $recomBids = RecommendService::getRecommendIdsStatic($channel, 'recom');