Parcourir la source

Merge branch '20250522_diywebfr'

15313670163 il y a 4 jours
Parent
commit
1913133053
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

@@ -950,7 +950,7 @@ class PublicRpcService implements PublicRpcServiceInterface
      */
     public function getAllTemplate(array $data): array
     {
-        $result = Template::where('template_name','like','%'.$data['template_name'].'%')->get();
+        $result = Template::get()->all();
         if(empty($result)){
             return Result::error("暂无皮肤", 0);
         }