fix(接口测试): 接口自动化列表,进入回收站后模块树显示错位

--bug=1021689 --user=张勇 【接口测试】接口自动化列表,进入回收站后模块树显示错位 https://www.tapd.cn/55049933/s/1332031
This commit is contained in:
zhangyong 2023-02-06 17:45:56 +08:00 committed by zhangyongfit2cloud
parent a1edbe756c
commit bda4f7d727
1 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ export function getApiModules(projectId, protocol, currentVersion) {
}
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);
}
@ -21,7 +21,7 @@ export function getApiModuleByTrash(projectId, protocol, currentVersion) {
}
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);
}