feat: add model groups, verified registration and CNY credit grants

This commit is contained in:
wlx committed 2026-09-18 17:27:58 +08:00
1 parent f5ba6cb255
commit 7a18db2123
40 files changed
+1980 -263

No files matched your search

@@ -6,6 +6,11 @@ import org.springframework.web.bind.annotation.RestController;
@RestController
public class HealthController {
private final com.moyi.controlplane.auth.VerificationService verification;
public HealthController(com.moyi.controlplane.auth.VerificationService verification) {
this.verification = verification;
}
@GetMapping("/health")
public Map<String, Object> health() {
return Map.of(
@@ -13,7 +18,7 @@ public class HealthController {
"service", "moyi-control-plane-java",
"migration", "catalog",
"capabilities", Map.of(
"verificationCode", false,
"verificationCode", verification.capabilities().containsValue(true),
"passwordReset", false
)
);