This commit is contained in:
ran.shang
2025-06-11 09:42:13 +08:00
commit 7e38b8d971
1935 changed files with 132836 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
package com.newyetai.usercenter.dto;
import org.springframework.security.access.ConfigAttribute;
import java.io.Serializable;
import java.util.List;
/**
* 支持授权的资源接口
*
* @author on 2019-11-05
*/
public interface Resource extends Serializable {
Long getId();
/**
* 提供资源对于的权限信息
*
* @return 权限信息
*/
List<ConfigAttribute> getAttributes();
}