diff --git a/api/simulation.go b/api/simulation.go index d9809f9..4a67ccd 100644 --- a/api/simulation.go +++ b/api/simulation.go @@ -273,7 +273,7 @@ func signalOperation(c *gin.Context) { if err := c.ShouldBind(&req); err != nil { panic(dto.ErrorDto{Code: dto.ArgumentParseError, Message: err.Error()}) } - // simulation := checkDeviceDataAndReturn(req.SimulationId) + simulation := checkDeviceDataAndReturn(req.SimulationId) slog.Info("传入状态参数", req) memory.ChangeSignalState(simulation, req.MapId, req.DeviceId, req.Aspect) c.JSON(http.StatusOK, "ok")