zhuchengjie 3 年之前
父節點
當前提交
0296c5e9c0
共有 1 個文件被更改,包括 4 次插入1 次删除
  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');