public object PostChangePayPwd(LoginModPwdModel value) { if (!string.IsNullOrEmpty(value.Certificate)) { return(ChangePayPwdByCertificate(value.Certificate, value.Password)); } return(ChangePayPwdByOldPassword(value.OldPassword, value.Password)); }
public JsonResult <Result <int> > PostChangePassword(LoginModPwdModel value) { if (!string.IsNullOrEmpty(value.Certificate)) { return(ChangePassowrdByCertificate(value.Certificate, value.Password)); } return(ChangePasswordByOldPassword(value.OldPassword, value.Password)); }
/// <summary> /// 设置密码 /// </summary> /// <param name="pwd"></param> /// <returns></returns> public object PostSetPayPwd(LoginModPwdModel model) { CheckUserLogin(); MemberCapitalApplication.SetPayPwd(CurrentUser.Id, model.Password); return(SuccessResult("设置成功")); }