소스 검색

feat : 用户详情接口修改

bilingfeng 2 년 전
부모
커밋
9807a466c6
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      game-module/game-manage/src/main/java/com/zanxiang/manage/service/Impl/UserLoginLogServiceImpl.java

+ 2 - 0
game-module/game-manage/src/main/java/com/zanxiang/manage/service/Impl/UserLoginLogServiceImpl.java

@@ -63,6 +63,8 @@ public class UserLoginLogServiceImpl extends ServiceImpl<UserLoginLogMapper, Use
             return null;
         }
         UserRoleLoginVO roleLoginVO = BeanUtils.copy(userLoginLog, UserRoleLoginVO.class);
+        roleLoginVO.setLoginIp(userLoginLog.getIp());
+        roleLoginVO.setLoginTime(userLoginLog.getCreateTime());
         //查询角色名称
         GameUserRoleDTO gameUserRoleDTO = gameUserRoleService.getByRoleId(userLoginLog.getRoleId());
         if (gameUserRoleDTO != null) {