star7th 5 лет назад
Родитель
Сommit
6f64c06e8c

+ 1 - 1
composer.json

@@ -5,7 +5,7 @@
     "description": "ShowDoc is a tool greatly applicable for an IT team to share documents online",
     "keywords": ["showdoc","documents","Api"],
     "homepage": "https://github.com/star7th/showdoc",
-    "version":"v2.8.8", 
+    "version":"v2.8.9", 
     "license": "Apache-2.0",
     "authors": [
         {

+ 1 - 1
server/Application/Api/Controller/ItemController.class.php

@@ -112,7 +112,7 @@ class ItemController extends BaseController {
         //如果项目类型为runapi,则获取看看有没有全局参数
         $global_param = array() ;
         if($item['item_type'] == 3){
-            $global_param = D("RunApi")->getGlobalParam($item_id);
+            $global_param = D("Runapi")->getGlobalParam($item_id);
         }
         
         $return = array(

+ 1 - 1
server/Application/Api/Controller/RunapiController.class.php

@@ -144,7 +144,7 @@ class RunapiController extends BaseController {
         $this->sendError(10303);
         return ;
       }
-      $return = D("RunApi")->getGlobalParam($item_id);
+      $return = D("Runapi")->getGlobalParam($item_id);
       $this->sendResult($return);
     }