wangzq 2 năm trước cách đây
mục cha
commit
cfa89d5304
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      app/Http/Controllers/QuickApp/Book/BookController.php

+ 3 - 3
app/Http/Controllers/QuickApp/Book/BookController.php

@@ -629,8 +629,8 @@ class BookController extends BaseController
         if (empty($package) || $package != 'com.beidao.kuaiying.yueai') {
             return response()->success([]);
         }
-        $user =  (new QappUserService)->getGolableUser();
-        if(isset($user->uid) && !empty($user->uid) && $user->send_order_id >  0){
+        // $user =  (new QappUserService)->getGolableUser();
+        // if(isset($user->uid) && !empty($user->uid) && $user->send_order_id >  0){
             $bid =  BookConfigService::getAvailableBIdsbyBids([58238,60534,63220,14500,13254,63221,63548,14022,59334,58888,63417,61701],$this->distribution_channel_id,false);
             if (!empty($bid)){
                 $bid = array_random($bid,4);
@@ -642,7 +642,7 @@ class BookController extends BaseController
                 $books = BookConfigService::getBookLists($where,[],false);
                 return response()->collection(new BookTransformer(), $books);
             }
-        }
+        // }
         return response()->success([]);
         $where = ['is_on_shelf' => [2]];
         $where['channel_id'] = ($package === 'com.beidao.kuaiying.zsy') ? 7477 : 0;