From 8b25d4c0c79c26900cea5de537887d658dcfa32e Mon Sep 17 00:00:00 2001 From: tangxu <tangxu76880903> Date: 星期一, 29 四月 2024 13:11:26 +0800 Subject: [PATCH] 添加接口内容 : 获取最近项目 --- WebApi/Controllers/AnaSettingController.cs | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/WebApi/Controllers/AnaSettingController.cs b/WebApi/Controllers/AnaSettingController.cs index 3b1f528..75cd906 100644 --- a/WebApi/Controllers/AnaSettingController.cs +++ b/WebApi/Controllers/AnaSettingController.cs @@ -29,7 +29,7 @@ [HttpGet] public IStation.Dto.ApiResult GetSetting( ) { - return new IStation.Dto.ApiResult<Model.AnaSetting>(IStation.Common.AnaSetting.GetSetting()); + return new IStation.Dto.ApiResult<CalcModel.AnaSetting>(IStation.AnaGlobalParas.Setting); } /// <summary> @@ -39,7 +39,7 @@ /// <returns></returns> [Route("SaveSetting")] [HttpPost] - public IStation.Dto.ApiResult SaveSetting([FromBody] Model.AnaSetting ana) + public IStation.Dto.ApiResult SaveSetting([FromBody] CalcModel.AnaSetting ana) { if (ana == null) { -- Gitblit v1.9.3