feat(ft546): add isolated shadow process

This commit is contained in:
zgw
2026-08-12 14:21:32 +08:00
parent 778444e5ea
commit 364668c939
14 changed files with 668 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
package com.ruoyi.shadow.web;
import com.ruoyi.shadow.startup.ShadowStartupReport;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
@RestController
@RequestMapping("/shadow")
public final class ShadowStatusController {
private final ShadowStartupReport report;
public ShadowStatusController(ShadowStartupReport report) {
this.report = report;
}
@GetMapping("/status")
public ShadowStartupReport status() {
return report;
}
}