648540858
2022-04-08 ba8633e99a27b90c55b47e8f7d6225f1f0efc6bb
src/main/java/com/genersoft/iot/vmp/conf/security/dto/LoginUser.java
@@ -1,5 +1,6 @@
package com.genersoft.iot.vmp.conf.security.dto;
import com.genersoft.iot.vmp.storager.dao.dto.Role;
import com.genersoft.iot.vmp.storager.dao.dto.User;
import org.springframework.security.core.CredentialsContainer;
import org.springframework.security.core.GrantedAuthority;
@@ -92,4 +93,10 @@
    public int getId() {
        return user.getId();
    }
    public Role getRole() {
        return user.getRole();
    }
}