verou
2025-03-29 1b07a3f11fd14d1a3c4b755021a28737ff4cdc75
rsf-server/src/main/java/com/vincent/rsf/server/system/controller/TenantController.java
@@ -68,7 +68,7 @@
    @OperationLog("Init Tenant")
    @PostMapping("/tenant/init")
    public R init(@RequestBody TenantInitParam param) {
        return tenantService.initTenant(param) ? R.ok("Initialize Success") : R.parse(BaseRes.PARAM);
        return null != tenantService.initTenant(param) ? R.ok("Initialize Success") : R.parse(BaseRes.PARAM);
    }
    @PreAuthorize("hasAuthority('system:tenant:update')")