fix:修复创建api测试用例报错
This commit is contained in:
parent
c262beb5a0
commit
4bf0bd7f7a
|
@ -330,14 +330,13 @@
|
||||||
if (tmp.id) {
|
if (tmp.id) {
|
||||||
url = "/api/testcase/update";
|
url = "/api/testcase/update";
|
||||||
} else {
|
} else {
|
||||||
|
tmp.id = tmp.request.id;
|
||||||
tmp.request.path = this.api.path;
|
tmp.request.path = this.api.path;
|
||||||
if (tmp.request.protocol != "dubbo://" && tmp.request.protocol != "DUBBO") {
|
if (tmp.request.protocol != "dubbo://" && tmp.request.protocol != "DUBBO") {
|
||||||
tmp.request.method = this.api.method;
|
tmp.request.method = this.api.method;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
tmp.id = tmp.request.id;
|
|
||||||
|
|
||||||
if (tmp.request.esbDataStruct != null) {
|
if (tmp.request.esbDataStruct != null) {
|
||||||
tmp.esbDataStruct = JSON.stringify(tmp.request.esbDataStruct);
|
tmp.esbDataStruct = JSON.stringify(tmp.request.esbDataStruct);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue