| | |
| | | user.setName(comSanShuoIndustryCenterDTO.getName()); |
| | | user.setType(12); |
| | | try { |
| | | user.setPassword(MyAESUtil.Encrypt(comSanShuoIndustryCenterDTO.getPassword(),"Ryo7M3n8loC5Abcd")); |
| | | user.setPassword(comSanShuoIndustryCenterDTO.getPassword()); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |
| | |
| | | @Override |
| | | public R resetPassword(ComSanshuoIndustryCenter center) { |
| | | try { |
| | | String pass=MyAESUtil.Encrypt(center.getPassword(), "Ryo7M3n8loC5Abcd"); |
| | | return userService.sanShuoResetPassword(center.getAccount(), pass); |
| | | return userService.sanShuoResetPassword(center.getAccount(), center.getPassword()); |
| | | } catch (Exception e) { |
| | | e.printStackTrace(); |
| | | } |