rkljw 1 сар өмнө
parent
commit
57b3103fb0

+ 1 - 1
app/Controller/IndexController.php

@@ -29,7 +29,7 @@ class IndexController extends AbstractController
                 'bar' => 'required',
             ],
             [
-                'foo.required' => 'foo必填',
+                'foo.required' => 'foo必填11',
                 'bar.required' => 'bar必填',
             ]
         );

+ 12 - 0
app/JsonRpc/WebsiteService.php

@@ -663,6 +663,7 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
     {
         return $this->__request(__FUNCTION__, $data);
     }
+
     /**
      * @param array $data
      * @return mixed
@@ -673,4 +674,15 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
     }
     
 
+    // 20250307 根据网站标识获取导航池
+    public function getWebsiteNavPool(array $data)
+    {
+        return $this->__request(__FUNCTION__, $data);
+    }
+    // 20250307 根据网站标识获和导航获取站点
+    public function getWebsiteNavPoolSite(array $data)
+    {
+        return $this->__request(__FUNCTION__, $data);
+    }
+
 }

+ 4 - 0
app/JsonRpc/WebsiteServiceInterface.php

@@ -431,5 +431,9 @@ interface WebsiteServiceInterface
     public function getWebsiteGroupInfo(array $data);
     public function updateWebsiteGroup(array $data);
     public function getWebsiteNavList(array $data);
+    /// 20250307 根据网站标识获和导航获取站点
+    public function getWebsiteNavPool(array $data);
+    public function getWebsiteNavPoolSite(array $data);
+
 }
 

+ 5 - 0
config/api/website.php

@@ -119,6 +119,11 @@ Router::addGroup(
         //获取网站下导航列表
         Router::post('/getWebsiteNavList', [WebsiteController::class, 'getWebsiteNavList']);
 
+        // 20250307 根据网站标识获取导航池
+        Router::post('/getWebsiteNavPool', [WebsiteController::class, 'getWebsiteNavPool']);
+        // 20250307 根据网站标识获和导航获取站点
+        Router::post('/getWebsiteNavPoolSite', [WebsiteController::class, 'getWebsiteNavPoolSite']);
+
     },
     ['middleware' => [FooMiddleware::class]]
 );