/// <summary> /// 修改密码 /// </summary> /// <param name="account"></param> /// <param name="oldpsd"></param> /// <param name="newpsd"></param> /// <param name="retmsg"></param> /// <returns></returns> public static int DoChangePsd(string account, string oldpsd, string newpsd, out string retmsg) { int res = -1; try { WRLogin.LoginWebService ws = new WRLogin.LoginWebService(); RecvRes retres = TransRes(ws.ChangePassword(account, oldpsd, newpsd)); retmsg = retres.Description; if (retres.IsOK) { res = 0; } } catch (Exception ex) { retmsg = ex.Message; throw; } return(res); }