diff --git a/module/api/js/common.js b/module/api/js/common.js index 336de76f00..aeadb561a4 100644 --- a/module/api/js/common.js +++ b/module/api/js/common.js @@ -250,7 +250,7 @@ try { - + diff --git a/module/api/lang/zh-cn.php b/module/api/lang/zh-cn.php index 01d9968a13..d8946ad167 100755 --- a/module/api/lang/zh-cn.php +++ b/module/api/lang/zh-cn.php @@ -176,6 +176,7 @@ $lang->api->paramsScopeOptions = array( /* Api global common params */ $lang->api->paramsTypeOptions = array( 'object' => 'object', + 'array' => 'array', 'string' => 'string', 'date' => 'date', 'datetime' => 'datetime', diff --git a/module/api/view/edit.html.php b/module/api/view/edit.html.php index 0aba1ce526..b49d94fa49 100644 --- a/module/api/view/edit.html.php +++ b/module/api/view/edit.html.php @@ -88,17 +88,11 @@ js::set('api', $api); api->method;?> - - api->methodOptions, $api->method ? $api->method : 'GET', "class='form-control chosen'");?> - + api->methodOptions, $api->method ? $api->method : 'GET', "class='form-control chosen'");?> api->requestType;?> - - api->requestTypeOptions, $api->requestType ? $api->requestType : 'application/json', "class='form-control chosen'");?> - + api->requestTypeOptions, $api->requestType ? $api->requestType : 'application/json', "class='form-control chosen'");?> api->status;?> @@ -168,9 +162,7 @@ js::set('api', $api);
- +