瀏覽代碼

匹配路由

15313670163 2 周之前
父節點
當前提交
2abd63167c
共有 2 個文件被更改,包括 4 次插入1 次删除
  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;
 }