Skip to content

Commit

Permalink
v2.8.9
Browse files Browse the repository at this point in the history
  • Loading branch information
star7th committed Nov 14, 2020
1 parent 05446bc commit 6f64c06
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down
2 changes: 1 addition & 1 deletion server/Application/Api/Controller/ItemController.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ private function _show_regular_item($item){
//如果项目类型为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(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ public function getGlobalParam(){
$this->sendError(10303);
return ;
}
$return = D("RunApi")->getGlobalParam($item_id);
$return = D("Runapi")->getGlobalParam($item_id);
$this->sendResult($return);
}

Expand Down

0 comments on commit 6f64c06

Please sign in to comment.