class AuthorizationSettingDetailController {

    private final AuthorizationSettingDetailService settingService;

    @PostMapping("/_save")
    @SaveAction
    @Operation(summary = "赋权")
    public Mono<Boolean> saveSettings(@RequestBody Flux<AuthorizationSettingDetail> detailFlux) {<FILL_FUNCTION_BODY>}

    @GetMapping("/{targetType}/{target}")
    @SaveAction
    @Operation(summary = "获取权限详情")
    public Mono<AuthorizationSettingDetail> getSettings(@PathVariable @Parameter(description = "权限类型") String targetType,
                                                        @PathVariable @Parameter(description = "权限类型对应数据ID") String target) {

        return settingService
            .getSettingDetail(targetType, target)
            ;
    }

}


        return Authentication
            .currentReactive()
            .flatMap(authentication -> settingService
                .saveDetail(authentication, detailFlux)
                .thenReturn(true)
            );
    
<no_super_class>