lixiaojun
2024-12-12 fe59cb0e4d060664927dca75d453162deae3e17d
Application/HStation.Application.Xhs.Core/01-project/XhsProject_Controller.cs
@@ -167,36 +167,6 @@
            return bol;
        }
        /// <summary>
        ///  发布
        /// </summary>
        [Route("Publish@V1.0")]
        [HttpPut]
        public bool Publish([Required] IDInput input)
        {
            var bol = _service.Publish(input.ID, out string Msg);
            if (!bol)
            {
                throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.V001, Msg);
            }
            return bol;
        }
        /// <summary>
        /// 弃用(谨慎操作)
        /// </summary>
        [Route("Deprecate@V1.0")]
        [HttpPut]
        public bool Deprecate([Required] IDInput input)
        {
            var bol = _service.Deprecate(input.ID, out string Msg);
            if (!bol)
            {
                throw YOops.Oh(eResultCode.Alert, InternalErrorCodes.V001, Msg);
            }
            return bol;
        }
        #endregion Update
        #region Exist