diff --git a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiModuleService.java b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiModuleService.java index 6cae308e88..bd9c851035 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/definition/ApiModuleService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/definition/ApiModuleService.java @@ -514,7 +514,6 @@ public class ApiModuleService extends NodeTreeService { module.setCreateTime(System.currentTimeMillis()); module.setUpdateTime(System.currentTimeMillis()); module.setProjectId(projectId); - module.setCreateUser(SessionUtils.getUserId()); apiModuleMapper.insert(module); return module; } else { diff --git a/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioModuleService.java b/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioModuleService.java index 0acac8e1fc..5984eec2da 100644 --- a/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioModuleService.java +++ b/api-test/backend/src/main/java/io/metersphere/service/scenario/ApiScenarioModuleService.java @@ -463,7 +463,7 @@ public class ApiScenarioModuleService extends NodeTreeService