Ver código fonte

上架设置

wangzq 2 anos atrás
pai
commit
389498540b

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

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