lyhzzz hace 4 semanas
padre
commit
f401a0f602

+ 1 - 1
src/main/java/com/fdkankan/ucenter/service/impl/AppService.java

@@ -90,7 +90,7 @@ public class AppService {
         BeanUtils.copyProperties(user,userVo);
         userVo.setCameraCount(count);
         userVo.setSceneCount(sceneProCount + scenePlusCount);
-        userVo.setPassword(SecurityUtil.MD5(user.getPassword()));
+        userVo.setPassword(AesUtil.encrypt(SecurityUtil.MD5(user.getPassword())));
         LoginVo vo = new LoginVo();
         vo.setToken(token);
         vo.setUser(userVo);