张天森
2022-09-28 bc786310dbbe4140c712314509c26f8c0e35e27c
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComSanShuoIndustryCenterServiceImpl.java
@@ -71,7 +71,7 @@
                user.setName(comSanShuoIndustryCenterDTO.getName());
                user.setType(12);
                try {
                    user.setPassword(MyAESUtil.Encrypt(comSanShuoIndustryCenterDTO.getPassword(),"Ryo7M3n8loC5Abcd"));
                    user.setPassword(comSanShuoIndustryCenterDTO.getPassword());
                } catch (Exception e) {
                    e.printStackTrace();
                }
@@ -92,8 +92,7 @@
    @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();
        }