public async Task <IActionResult> DisableEnableArticleAsync([FromBody] DisableEnableRequestDto request) { var articleBiz = new ArticleBiz(); var result = await articleBiz.DisableEnableAsync(request.Guid, request.Enable, UserID); if (!result) { return(Failed(ErrorCode.UserData, "修改失败")); } return(Success()); }