Browse Source

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

15313670163 4 ngày trước cách đây
mục cha
commit
98223bf504
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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
     {
-        $result = Template::where('template_name','like','%'.$data['template_name'].'%')->get();
+        $result = Template::get()->all();
         if(empty($result)){
             return Result::error("暂无皮肤", 0);
         }