public JsonResult ResetPasswordSub(int id,string oldpwd,string newpwd) { IClubCardMgm cardMgm = new ClubCardMgm(); string result= cardMgm.UpdatePwd(id, oldpwd, newpwd); ReturnedData data = new ReturnedData(); if(result==null) { data.Success = true; data.Message = "密码重置成功"; } else { data.Success = false; data.Message = result; } return Json(data, JsonRequestBehavior.AllowGet); }