skyouc
2025-02-20 b0f4749bf7ed767f0df2c0cd9967c34aa812c4c5
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')")