CustomerAuthorizationFilter (nuget): 支持.netcore 2.1 appsettings.json 添加配置项 "AuthApi": { "Url": "http://localhost:5001/api/DiyUser/hasPerm", "AdminRole": "admin1", "RequestParams":"perm" } 使用 [PermissionFilter(HasPerms = "test",HasRoles ="admin")]
Keywords: Tag1|Tag2