mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
fix(接口测试): 场景导入场景存在变引用
--user=郭雨琦 场景存在变引用
This commit is contained in:
parent
a64a4319b1
commit
0aa2481244
@ -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