public IActionResult DeleteCommentByUseridMidex([FromBody] Comment comment) { if (UserSystem.DeleteOneComment(comment)) { return(Json(new { code = 0, msg = "删除成功" })); } return(Json(new { code = -1, msg = "删除失败" })); }
public IActionResult DeleteCommentByUseridMidex([FromBody] Comment comment) { if (UserSystem.DeleteOneComment(comment)) { return(Json(new { code = 0, msg = "删除成功" })); } return(Json(new { code = -1, msg = "删除失败" })); }