lixiaojun
2024-08-05 0d59c0b8d03e8485f7938c95ab6d7303d4b1a329
Application/HStation.Application.Xhs.Core/01-project/XhsProject_StdController.cs
@@ -4,7 +4,7 @@
    /// XhsProject
    /// </summary>
    [Route("Xhs/Project/Std")]
    [ApiDescriptionSettings("Xhs", Name = "项目(Std)", Order = 99000)]
    [ApiDescriptionSettings("Xhs", Name = "项目(Std)", Order = 98000)]
    public class XhsProject_StdController : IDynamicApiController
    {
        /// <summary>
@@ -26,5 +26,16 @@
            }, Yw.Service.ConfigHelper.CacheLevel1);
            return vm_list;
        }
        /// <summary>
        /// 通过 ID 获取
        /// </summary>
        [Route("GetByID@V1.0")]
        [HttpGet]
        public XhsProjectStdDto GetByID([FromQuery][Required] IDInput input)
        {
            var model = new Service.XhsProject().GetByID(input.ID);
            return model == null ? null : new XhsProjectStdDto(model);
        }
    }
}