Browse Source

修改b端通栏管理-获取所有皮肤

15313670163 4 days ago
parent
commit
98223bf504
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/JsonRpc/PublicRpcService.php

+ 1 - 1
app/JsonRpc/PublicRpcService.php

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