| | |
| | | return new Response<>().set(1, false, "手机号已存在"); |
| | | } |
| | | String password = URLDecoder.decode(user.getUpassword(), "utf-8"); |
| | | |
| | | |
| | | String[] dataArr = RSAUtil.decryptFront(password, RSAUtil.fontSeparator); |
| | | String pwd = RSAUtil.encrypt(dataArr[0],RSAUtil.getPublicKey()); |
| | | user.setUpassword(pwd); |
| | |
| | | if (userOfMobilephone.getUId()!=0) { |
| | | return new Response<>().set(1, false, "手机号已存在"); |
| | | } |
| | | String password = ""; |
| | | try { |
| | | password = URLDecoder.decode(user.getUpassword(), "utf-8"); |
| | | }catch (UnsupportedEncodingException e){ |
| | | e.printStackTrace(); |
| | | } |
| | | String password = URLDecoder.decode(user.getUpassword(), "utf-8"); |
| | | |
| | | String[] dataArr = RSAUtil.decryptFront(password, RSAUtil.fontSeparator); |
| | | String pwd = RSAUtil.encrypt(dataArr[0],RSAUtil.getPublicKey()); |
| | | user.setUpassword(pwd); |