|
|
|
@@ -122,7 +122,8 @@ public class SendSmartAppMsgServiceImpl implements MsgSendService { |
|
|
|
wxCUserMapper.updateMsgCountDown(tenantEntity.getTenantId(),Arrays.asList(split)); |
|
|
|
|
|
|
|
for (String to:split) { |
|
|
|
subscribeMessage = WxMaSubscribeMessage.builder() |
|
|
|
try { |
|
|
|
subscribeMessage = WxMaSubscribeMessage.builder() |
|
|
|
.templateId(msg.getTemplateId()) |
|
|
|
.toUser(to) |
|
|
|
.page(smartAppMsg.getGotopage()) |
|
|
|
@@ -132,7 +133,6 @@ public class SendSmartAppMsgServiceImpl implements MsgSendService { |
|
|
|
.data(dataTempList) |
|
|
|
.build(); |
|
|
|
|
|
|
|
try { |
|
|
|
wxMaService.getMsgService().sendSubscribeMsg(subscribeMessage); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("openId:"+to+"-----发送订阅消息失败"); |
|
|
|
|