public JsonResult ValidateCellphoneCode(ValidateCellphoneViewModel validateCellphone) { string errorMsg; bool success = CustomerManager.ValidateCellphoneCode(UserMgr.ReadUserInfo(), validateCellphone, out errorMsg); JsonResult result = new JsonResult(); result.Data = new AjaxResult() { Success = success, Message = errorMsg, }; return(result); }
public JsonResult ValidateFindPasswordCellphoneCode(ValidateCellphoneViewModel validateCellphone) { string errorMsg; string data; int customerSysNo; bool success = CustomerManager.ValidateFindPasswordCellphoneCode(validateCellphone, out data, out customerSysNo, out errorMsg); JsonResult result = new JsonResult(); result.Data = new AjaxResult() { Success = success, Message = errorMsg, Data = data, }; return(result); }