1、修改swg的组名 配置ApplicationService
//动态Api Configure<AbpAspNetCoreMvcOptions>(options => { options.ConventionalControllers.Create(typeof(YiAbpApplicationModule).Assembly, options => options.RemoteServiceName = "default"); });
Yi.Abp.Net8/module/rbac/Yi.Framework.Rbac.Application/Services/System/UserService.cs
接口授权
[Permission("system:user:delete")] 删除
查询用户
[Permission("system:user:list")]
[OperLog("添加用户", OperEnum.Insert)]
[Permission("system:user:add")]
[OperLog("更新用户", OperEnum.Update)]
[Permission("system:user:update")]
[Route("user/{id}/{state}")]
[OperLog("更新用户状态", OperEnum.Update)]
[Permission("system:user:update")]