Bladeren bron

匹配路由

15313670163 2 weken geleden
bovenliggende
commit
2abd63167c
2 gewijzigde bestanden met toevoegingen van 4 en 1 verwijderingen
  1. 3 1
      app/JsonRpc/WebsiteService.php
  2. 1 0
      app/JsonRpc/WebsiteServiceInterface.php

+ 3 - 1
app/JsonRpc/WebsiteService.php

@@ -2134,8 +2134,9 @@ class WebsiteService implements WebsiteServiceInterface
         }
         return Result::success($result);
     }
+
     /**
-     * 获取网站底部信息
+     * 路由匹配
      * @param array $data
      */
     public function getWebsiteRoute(array $data): array
@@ -2152,4 +2153,5 @@ class WebsiteService implements WebsiteServiceInterface
         return Result::success($result['category_id']); 
     }
 
+
 }

+ 1 - 0
app/JsonRpc/WebsiteServiceInterface.php

@@ -113,5 +113,6 @@ interface WebsiteServiceInterface
     public function getWebsiteParentCategory(array $data): array;
     public function getWebsiteFootAll(array $data): array;
     public function getWebsiteHead(array $data): array;
+    
     public function getWebsiteRoute(array $data): array;
 }