Esempio n. 1
0
        public JsonResult SetgCardStatusSub(int id,int status)
        {
            IClubCardMgm cardMgm = new ClubCardMgm();
            ReturnedData data = new ReturnedData();
            try
            {
                cardMgm.UpdateClubCardStatus(id, status);
                data.Success = true;
                data.Message = "会员卡状态修改成功";
            }
            catch (Exception ex)
            {
                LogHandler.Error(ex.ToString());
                data.Success = false;
                data.Message = "会员卡状态修改成功";
            }

            return Json(data, JsonRequestBehavior.AllowGet);
        }