package jnpf.certificate.fallback;

import jnpf.base.ActionResult;
import jnpf.certificate.CertificateWarningApi;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class CertificateWarningFallbackApi implements CertificateWarningApi {
    @Override
    public ActionResult<Boolean> checkAndSendCertificateWarning(String tenantId) {
        log.error("checkAndSendCertificateWarning调用失败，tenantId={}", tenantId);
        return ActionResult.success(Boolean.FALSE);
    }
}
