class NotifierChannel implements NotifyChannel {

        private final NotifyChannelConfig config;

        private Map<String, Object> createVariable(Notification notification) {<FILL_FUNCTION_BODY>}

        @Override
        public Mono<Void> sendNotify(Notification notification) {
            return notifierManager
                .getNotifier(getNotifyType(), config.notifierId)
                .flatMap(notifier -> notifier.send(config.templateId, Values.of(createVariable(notification))));
        }

        @Override
        public void dispose() {

        }
    }

            Map<String, Object> vars = Maps.newHashMapWithExpectedSize(32);

            //消息内容
            vars.put("message", notification.getMessage());
            //通知详情数据
            vars.put("detail", notification.getDetail());
            //通知详情数据-json
            vars.put("detailJson", JSON.toJSONString(notification.getDetail()));
            //编码
            vars.put("code", notification.getCode());
            //订阅者ID
            vars.put("subscriber", notification.getSubscriber());
            //订阅主题名称
            vars.put("topic", notification.getTopicName());
            //通知时间
            vars.put("notifyTime", notification.getNotifyTime());

            if (MapUtils.isNotEmpty(config.variables)) {
                vars.putAll(config.variables);
            }

            return vars;

        
<no_super_class>