项目整合,增加测试项目,es改为rest客户端接口查询

This commit is contained in:
暮光:城中城
2019-07-18 23:21:07 +08:00
parent bf2bf47f53
commit 5084b4ce6a
36 changed files with 986 additions and 334 deletions

View File

@@ -250,7 +250,7 @@ function exportDocument(){
$("#exportDocumentModal .bottom-box").show();
$("#exportDocumentModal .alert").addClass("hidden");
$("#exportDocumentText").addClass("hidden");
$('#exportDocumentUl').empty();
for (var i = 0; i < documentJsonArr.length; i++) {
$("#exportDocumentUl").append('<li index='+i+'>'+decodeURI(documentJsonArr[i].fullUrl)+'</li>');
@@ -503,6 +503,10 @@ $("#apiPathTree").on("click", ".show-doc", function(){
htmlStrExample = paramName;
addRequestParamObj(requestParamObj, paramName, paramType, paramIn, required, paramDesc, example);
}
} else if("body" == tempParameters.in) {
requestParamObj["p-body-obj"] = "";
htmlStr = paramName;
htmlStrExample = paramName;
} else if("string" == tempParameters.schema.type) {
htmlStr = paramName;
htmlStrExample = paramName;
@@ -1071,4 +1075,4 @@ function checkSystemUpgrade() {
);
}
});
}
}