|
@@ -81,10 +81,10 @@ public class AppService {
|
|
|
Long sceneProCount = sceneProService.getCountByUserId(user.getId(),resourceList);
|
|
|
Long scenePlusCount = scenePlusService.getCountByUserId(user.getId(),resourceList);
|
|
|
UserVo userVo = new UserVo();
|
|
|
+ BeanUtils.copyProperties(user,userVo);
|
|
|
userVo.setCameraCount(count);
|
|
|
userVo.setSceneCount(sceneProCount + scenePlusCount);
|
|
|
userVo.setPassword(SecurityUtil.MD5(user.getPassword()));
|
|
|
- BeanUtils.copyProperties(user,userVo);
|
|
|
LoginVo vo = new LoginVo();
|
|
|
vo.setToken(token);
|
|
|
vo.setUser(userVo);
|