fly %!s(int64=5) %!d(string=hai) anos
pai
achega
6d2c454439
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Http/Controllers/QuickApp/Book/BookController.php

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

@@ -271,7 +271,7 @@ class BookController extends BaseController
             $reco_banner_type = ['FEMALE', 'PUBLIC'];
             $channel = 2;
         }
-        $books = RecoBannerService::getByTypeStatic($reco_banner_type, 2);
+        $books = (new RecoBannerService)->getByType($reco_banner_type, 2);
         $books->transform(function ($item) {
             $result = $this->getBidCidFromUrl($item->redirect_url);
             $item->bid = $result['bid'];