ningshuxia
2022-09-21 d994f82c57d350f7b85f96dfe8f18369cadc0cec
Application/IStation.Application.LinuxTest/test/MonitorRecord_Controller.cs
@@ -48,7 +48,11 @@
            if (input == null)
                return default;
            var model = input.Adapt<AddMonitorRecordInput, Model.MonitorRecord>();
            var bol = _service.InsertLastRecord(model);
            var bol = _service.InsertLastRecord(model, out bool redis);
            if (!redis)
            {
                throw Oops.Oh("Redis 创建失败!");
            }
            return bol;
        }