class FlyBookAlertNotifyHandlerImpl extends AbstractAlertNotifyHandlerImpl {

    @Override
    public void send(NoticeReceiver receiver, NoticeTemplate noticeTemplate, Alert alert) {<FILL_FUNCTION_BODY>}

    @Override
    public byte type() {
        return 6;
    }

    @Data
    private static class FlyBookWebHookDto {
        private static final String MARKDOWN = "post";

        /**
         * 消息类型
         */
        @JsonProperty("msg_type")
        private String msgType = MARKDOWN;

        private Content content;

    }

    /**
     * 消息内容
     */
    @Data
    private static class Content {
        public Post post;
    }

    @Data
    private static class FlyBookContent {
        /**
         * 格式  目前支持文本、超链接、@人的功能  text  a  at
         */
        public String tag;
        /**
         * 文本
         */
        public String text;
        /**
         * 超链接地址
         */
        public String href;

        @JsonProperty("user_id")
        public String userId;

        @JsonProperty("user_name")
        public String userName;
    }

    @Data
    private static class Post {
        @JsonProperty("zh_cn")
        public ZhCn zhCn;
    }

    @Data
    private static class ZhCn {
        /**
         * 标题
         */
        public String title;
        /**
         * 内容
         */
        public List<List<FlyBookContent>> content;
    }

}

        try {
            FlyBookWebHookDto flyBookWebHookDto = new FlyBookWebHookDto();
            Content content = new Content();
            Post post = new Post();
            ZhCn zhCn = new ZhCn();
            content.setPost(post);
            post.setZhCn(zhCn);
            flyBookWebHookDto.setMsgType("post");
            List<List<FlyBookContent>> contents = new ArrayList<>();
            List<FlyBookContent> contents1 = new ArrayList<>();
            FlyBookContent flyBookContent = new FlyBookContent();
            flyBookContent.setTag("text");
            flyBookContent.setText(renderContent(noticeTemplate, alert));
            contents1.add(flyBookContent);
            FlyBookContent bookContent = new FlyBookContent();
            bookContent.setTag("a");
            bookContent.setText(bundle.getString("alerter.notify.console"));
            bookContent.setHref(alerterProperties.getConsoleUrl());
            contents1.add(bookContent);
            contents.add(contents1);
            zhCn.setTitle("[" + bundle.getString("alerter.notify.title") + "]");
            zhCn.setContent(contents);
            flyBookWebHookDto.setContent(content);
            String webHookUrl = alerterProperties.getFlyBookWebhookUrl() + receiver.getWechatId();
            HttpHeaders headers = new HttpHeaders();
            headers.setContentType(MediaType.APPLICATION_JSON);
            HttpEntity<FlyBookWebHookDto> flyEntity = new HttpEntity<>(flyBookWebHookDto, headers);
            ResponseEntity<CommonRobotNotifyResp> entity = restTemplate.postForEntity(webHookUrl,
                    flyEntity, CommonRobotNotifyResp.class);
            if (entity.getStatusCode() == HttpStatus.OK) {
                assert entity.getBody() != null;
                if (entity.getBody().getCode() == null || entity.getBody().getCode() == 0) {
                    log.debug("Send feiShu webHook: {} Success", webHookUrl);
                } else {
                    log.warn("Send feiShu webHook: {} Failed: {}", webHookUrl, entity.getBody().getMsg());
                    throw new AlertNoticeException(entity.getBody().getMsg());
                }
            } else {
                log.warn("Send feiShu webHook: {} Failed: {}", webHookUrl, entity.getBody());
                throw new AlertNoticeException("Http StatusCode " + entity.getStatusCode());
            }
        } catch (Exception e) {
            throw new AlertNoticeException("[FeiShu Notify Error] " + e.getMessage());
        }
    
<methods>public void onEvent(org.apache.hertzbeat.common.support.event.SystemConfigChangeEvent) <variables>protected static final java.time.format.DateTimeFormatter DTF,private static final java.lang.String NUMBER_FORMAT,protected org.apache.hertzbeat.alert.AlerterProperties alerterProperties,protected java.util.ResourceBundle bundle,protected org.apache.hertzbeat.manager.service.NoticeConfigService noticeConfigService,protected RestTemplate restTemplate