소스 검색

Merge branch 'kuaiyingyong' of iqiyoo:zhuishuyun_wap into kuaiyingyong

tgz 2 년 전
부모
커밋
9caa9c9766
1개의 변경된 파일6개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      app/Http/Controllers/QuickApp/Book/BookController.php

+ 6 - 0
app/Http/Controllers/QuickApp/Book/BookController.php

@@ -860,6 +860,12 @@ class BookController extends BaseController
                 }
             }
             return response()->success([]);
+        }else if(!empty($package) && $package == 'com.beidao.kuaiying.tiantiankanshu'){
+            if (isset($user->uid) && !empty($user->uid) && $user->send_order_id  >  0){
+                $bid = [ 61618,14555,60680,58919,58889,58925];
+                $list  = BookConfigService::getBooksByIds($bid,[],false);
+                return response()->collection(new BookTransformer(), $list);
+            }
         }
         $where = ['is_on_shelf' => [2],'channel_id' => $this->distribution_channel_id,'is_high_quality' => 1];
         if (isset($user->uid) && $user->user->sex == 1){