whycxzp
2022-04-20 80f38e6e784b82174ef79a40a41d9c5b7ca24eed
src/com/fgkj/services/User_infService.java
@@ -472,7 +472,14 @@
            }
         }
         if(flag==1){
            if (!uinf.getUpassword().equals(u.getUpassword())) {
            //密码明文+MD5(明文)
            String[] passwordArr = RSAUtil.decryptFront(uinf.getUpassword(), RSAUtil.fontSeparator);
            String data = passwordArr[0];
            //验签md5
            if(!passwordArr[1].equals(ActionUtil.EncryptionMD5(data).toString())){
               model.setMsg("密码验签失败");
            }
            if (!data.equals(RSAUtil.decrypt(u.getUpassword(),RSAUtil.getPrivateKey()))) {
               System.out.println("密码错误"+uinf.getUpassword()+"=="+u.getUpassword());
               model.setMsg(getText("Password_error"));
            } else {