mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 11:08:38 +08:00
fix(接口测试): 场景导入场景存在变引用
--user=郭雨琦 场景存在变引用
This commit is contained in:
parent
fecf73f1f3
commit
827f0b7508
@ -2075,6 +2075,9 @@ public class ApiAutomationService {
|
||||
Set<String> userRelatedProjectIds = checkPermissionService.getUserRelatedProjectIds();
|
||||
if(!userRelatedProjectIds.contains(bloBs.getProjectId())){
|
||||
object.put("referenced", "Copy");
|
||||
}else{
|
||||
object.put("id", bloBs.getId());
|
||||
object.put("resourceId", bloBs.getId());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user