diff --git a/src/main/java/club/joylink/rtss/controller/simulation/SimulationTrainingV2Controller.java b/src/main/java/club/joylink/rtss/controller/simulation/SimulationTrainingV2Controller.java index 24c7e68a8..39cfb6b1a 100644 --- a/src/main/java/club/joylink/rtss/controller/simulation/SimulationTrainingV2Controller.java +++ b/src/main/java/club/joylink/rtss/controller/simulation/SimulationTrainingV2Controller.java @@ -77,7 +77,7 @@ public class SimulationTrainingV2Controller { * 客户端步骤完成后操作回调 */ @PutMapping("/{group}/completion/step/{stepId}") - public Integer completionClientStep(@PathVariable String group, @PathVariable Integer stepId, @RequestAttribute AccountVO user) { + public Integer completionClientStep(@PathVariable String group, @PathVariable Long stepId, @RequestAttribute AccountVO user) { return training2Service.completionClientStep(group, stepId, user); } diff --git a/src/main/java/club/joylink/rtss/services/training2/Training2Service.java b/src/main/java/club/joylink/rtss/services/training2/Training2Service.java index 6d3b7d7b6..114aedf92 100644 --- a/src/main/java/club/joylink/rtss/services/training2/Training2Service.java +++ b/src/main/java/club/joylink/rtss/services/training2/Training2Service.java @@ -261,7 +261,7 @@ public class Training2Service { /** * 客户端完成步骤后回调(针对步骤中全部是客户端操作的) */ - public Integer completionClientStep(String group, Integer stepId, AccountVO user) { + public Integer completionClientStep(String group, Long stepId, AccountVO user) { Simulation simulation = groupSimulationCache.getSimulationByGroup(group); if (simulation == null) { throw new SimulationException(SimulationExceptionType.Invalid_Operation, "仿真不存在");