fix(接口测试): 接口自动化列表,进入回收站后模块树显示错位
--bug=1021689 --user=张勇 【接口测试】接口自动化列表,进入回收站后模块树显示错位 https://www.tapd.cn/55049933/s/1332031
This commit is contained in:
parent
a1edbe756c
commit
bda4f7d727
|
@ -6,7 +6,7 @@ export function getApiModules(projectId, protocol, currentVersion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function postApiModules(projectId, protocol, currentVersion, param) {
|
export function postApiModules(projectId, protocol, currentVersion, param) {
|
||||||
let url = '/api/module/list/' + projectId + '/' + protocol + (currentVersion ? '/' + currentVersion : '');
|
let url = '/api/module/list/' + projectId + '/' + protocol;
|
||||||
return post(url, param);
|
return post(url, param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -21,7 +21,7 @@ export function getApiModuleByTrash(projectId, protocol, currentVersion) {
|
||||||
}
|
}
|
||||||
|
|
||||||
export function postApiModuleByTrash(projectId, protocol, currentVersion, param) {
|
export function postApiModuleByTrash(projectId, protocol, currentVersion, param) {
|
||||||
let url = '/api/module/trash/list/' + projectId + '/' + protocol + '/' + (currentVersion ? '/' + currentVersion : '');
|
let url = '/api/module/trash/list/' + projectId + '/' + protocol;
|
||||||
return post(url, param);
|
return post(url, param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue