2 Commits 4d2e991d56 ... add35332b4

Autor SHA1 Mensaje Fecha
  wzq add35332b4 Merge branch 'develop' hace 5 años
  wzq 807918c98b bug hace 5 años
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app/Repositories/BannerRepository.php

+ 1 - 1
app/Repositories/BannerRepository.php

@@ -27,7 +27,7 @@ class BannerRepository
             ->select('image', 'type', 'link_content_id')
             ->where($where)
             ->whereIn('id', $ids)
-            ->orderByRaw(DB::raw("FIELD(id,{$ids})"))
+            ->orderByRaw(DB::raw("FIELD(id,{$request['ids']})"))
             ->get();
     }