vue代码
axios.post("DebugController/debugInterface",that.fileModal)
.then(function(res) {
that.button_isloading=false;
that.isreadOnly=false;
if (res.data.data!=null)
{
that.headData = JSON.stringify(res.data.data.head);
that.metaData = JSON.stringify(res.data.data.data);
}
else
{
that.$Notice.warning({
title: "查询出现异常,请检查",
desc: ''
});
}
})
.catch(function(err) {
console.log(err)
})
java代码
controller
方法一获得多个参数
@RequestMapping("debugInterface")
@ResponseBody
public ResultObj debugInterface(@RequestBody LinkedHashMap params) {
ResultObj result = ResultObj.succeed();
String serverName=param