潘志宝
4 天以前 b8a0affd03b5fa9fa33cd6f870e90394c2df86c7
iailab-module-system/iailab-module-system-biz/src/main/java/com/iailab/module/system/convert/oauth2/OAuth2OpenConvert.java
@@ -34,7 +34,7 @@
    default OAuth2OpenCheckTokenRespVO convert2(OAuth2AccessTokenDO bean) {
        OAuth2OpenCheckTokenRespVO respVO = BeanUtils.toBean(bean, OAuth2OpenCheckTokenRespVO.class);
        respVO.setExp(LocalDateTimeUtil.toEpochMilli(bean.getExpiresTime()) / 1000L);
        respVO.setExp(LocalDateTimeUtil.toEpochMilli(bean.getExpiresTime()));
        respVO.setUserType(UserTypeEnum.ADMIN.getValue());
        return respVO;
    }