Explorar o código

优化获取网站底部基础信息

15313670163 hai 1 mes
pai
achega
ac6b7baf63
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      app/JsonRpc/WebsiteService.php

+ 2 - 0
app/JsonRpc/WebsiteService.php

@@ -1262,6 +1262,7 @@ class WebsiteService implements WebsiteServiceInterface
      */
     public function getWebsiteFootInfo(array $data): array
     {
+
         if(isset($data['website_id']) && !empty($data['website_id'])){
             $website_head = Website::where('id',$data['website_id'])
                 ->where('status',1)
@@ -1283,6 +1284,7 @@ class WebsiteService implements WebsiteServiceInterface
             'website_head'=>$website_head
         ];
         return Result::success($result);
+        
     }
     /**
      * 获取网站底部导航