zhou zhou
昨天 1724f77c35022b643c28dd3e5547679a5edc2d49
rsf-server/src/main/java/com/vincent/rsf/server/system/controller/TenantController.java
@@ -17,7 +17,7 @@
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import jakarta.servlet.http.HttpServletResponse;
import java.util.*;
@RestController
@@ -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')")
@@ -113,3 +113,4 @@
    }
}