public JsonResult CancelPay(long Id) { string Msg = "ok"; var b = true; if (Id > 0) { b = _iMemberCapitalService.CancelPay(Id); if (!b) { Msg = "取消失败"; } } else { b = false; Msg = "数据错误"; } return(Json(new Result() { success = b, msg = Msg })); }
public JsonResult CancelPay(long Id) { string Msg = "ok"; var b = true; if (Id > 0) { b = _iMemberCapitalService.CancelPay(Id); if (!b) { Msg = "取消失败"; } } else { b = false; Msg = "数据错误"; } return(Json(new Result() { success = b, msg = Msg })); }