public ActionResult DoForgetPassword(DevRegisterViewMode model) { try { SessionUtil.CheckValidateCode(model.PicCode.Trim()); SingleInstance <DeveloperService> .Instance.ForgetPassword(model); return(OK()); } catch (Exception ex) { return(Error(ex.Message)); } }
public ActionResult GetSmsVerifyCode(string mobile, string picCode, int codeType) { try { SessionUtil.CheckValidateCode(picCode); SingleInstance <DeveloperService> .Instance.GetSmsCode(mobile, codeType); return(OK()); } catch (Exception ex) { return(Error(ex.Message)); } }