Shuxia Ning
2025-01-15 9eb94e9eec2e2e164698e34d0481d66093c8655b
Application/HStation.Application.Xhs.Core/02-project-site/XhsProjectSite_StdController.cs
@@ -47,6 +47,17 @@
            return vm_list;
        }
        /// <summary>
        /// 通过 ProjectID 获取默认
        /// </summary>
        [Route("GetDefaultByProjectID@V1.0")]
        [HttpGet]
        public XhsProjectSiteStdDto GetDefaultByProjectID([FromQuery][Required] ProjectIDInput input)
        {
            var model = new HStation.Service.XhsProjectSite().GetDefaultByProjectID(input.ProjectID);
            return model == null ? null : new XhsProjectSiteStdDto(model);
        }
    }
}