Commit 6a0c82bceff985524741668e04f75341a7b71054
1 parent
01fe5f22
修改用户名密码传参
Showing
1 changed file
with
0 additions
and
3 deletions
src/main/java/com/bsth/controller/sys/UserController.java
| @@ -76,11 +76,8 @@ public class UserController extends BaseController<SysUser, Integer> { | @@ -76,11 +76,8 @@ public class UserController extends BaseController<SysUser, Integer> { | ||
| 76 | //解密RSA | 76 | //解密RSA |
| 77 | try { | 77 | try { |
| 78 | String userpwd=RSAUtils.decryptBase64(data); | 78 | String userpwd=RSAUtils.decryptBase64(data); |
| 79 | - | ||
| 80 | userName=userpwd.split("1q2a3d")[0]; | 79 | userName=userpwd.split("1q2a3d")[0]; |
| 81 | password=userpwd.split("1q2a3d")[1]; | 80 | password=userpwd.split("1q2a3d")[1]; |
| 82 | - logger.info(userName); | ||
| 83 | - logger.info(password); | ||
| 84 | } catch (RuntimeException e) { | 81 | } catch (RuntimeException e) { |
| 85 | return put(rs, "msg", "decrypt RSA fail!可能页面已过期,尝试刷新页面。"); | 82 | return put(rs, "msg", "decrypt RSA fail!可能页面已过期,尝试刷新页面。"); |
| 86 | } | 83 | } |