示例#1
0
        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
            }));
        }