ソースを参照

增加接口:修改网站应用状态

15313670163 1 日 前
コミット
e51afa1a0c
2 ファイル変更16 行追加2 行削除
  1. 10 1
      app/JsonRpc/WebsiteService.php
  2. 6 1
      app/JsonRpc/WebsiteServiceInterface.php

+ 10 - 1
app/JsonRpc/WebsiteService.php

@@ -842,8 +842,17 @@ class WebsiteService extends AbstractServiceClient implements WebsiteServiceInte
      * @return mixed
      */
     public function upWebsiteStatus(array $data) 
-    {
+    { 
+        return $this->__request(__FUNCTION__, $data);
+    }
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function updateWebsiteStatus(array $data) 
+    { 
         return $this->__request(__FUNCTION__, $data);
     }
 
+
 }

+ 6 - 1
app/JsonRpc/WebsiteServiceInterface.php

@@ -527,7 +527,12 @@ interface WebsiteServiceInterface
      * @param array $data
      * @return mixed
      */
-    public function updateWebsiteStatus(array $data); 
+    public function updateWebsiteStatus(array $data);  
+    /**
+     * @param array $data
+     * @return mixed
+     */
+    public function upWebsiteStatus(array $data);  
 
 
 }