| | |
| | | package com.qianwen.core.notify.provider.wechat.mini; |
| | | |
| | | import cn.binarywang.wx.miniapp.bean.WxMaSubscribeMessage; |
| | | import cn.binarywang.wx.miniapp.bean.device.WxMaDeviceSubscribeMessageRequest; |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import java.time.Duration; |
| | | import java.util.ArrayList; |
| | | import java.util.HashMap; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | import java.util.concurrent.atomic.AtomicReference; |
| | | |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | |
| | | import com.alibaba.fastjson.JSONObject; |
| | | import com.qianwen.core.http.HttpRequest; |
| | | import com.qianwen.core.log.exception.BizServiceException; |
| | | import com.qianwen.core.notify.DefaultNotifyType; |
| | |
| | | import com.qianwen.core.notify.notifier.AbstractNotifier; |
| | | import com.qianwen.core.notify.notifier.NotifierProperties; |
| | | import com.qianwen.core.notify.provider.wechat.WechatMiniProvider; |
| | | import com.qianwen.core.notify.provider.wechat.mini.WechatMiniMessageTemplate; |
| | | import com.qianwen.core.notify.template.Template; |
| | | import com.qianwen.core.notify.template.TemplateManager; |
| | | import com.qianwen.core.tool.api.BizMessage; |
| | | import com.qianwen.core.tool.metadata.Values; |
| | |
| | | import com.qianwen.core.tool.utils.StringFormatUtil; |
| | | import com.qianwen.core.tool.utils.StringUtil; |
| | | |
| | | /* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/provider/wechat/mini/WeixinMiniDeviceNotifier.class */ |
| | | import cn.binarywang.wx.miniapp.bean.WxMaSubscribeMessage; |
| | | import cn.binarywang.wx.miniapp.bean.device.WxMaDeviceSubscribeMessageRequest; |
| | | |
| | | public class WeixinMiniDeviceNotifier extends AbstractNotifier<WechatMiniMessageTemplate> { |
| | | private static final Logger log = LoggerFactory.getLogger(WeixinMiniDeviceNotifier.class); |
| | | private final AtomicReference<String> accessToken; |