|
|
|
@@ -24,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
|
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.List; |
|
|
|
|
|
|
|
/** |
|
|
|
@@ -115,7 +116,7 @@ public class SendSmartAppMsgServiceImpl implements MsgSendService { |
|
|
|
// wxMaService.getMsgService().sendTemplateMsg(templateMessage); |
|
|
|
|
|
|
|
String[] split = smartAppMsg.getTo().split(","); |
|
|
|
wxCUserMapper.updateMsgCountDown(tenantEntity.getTenantId(),split); |
|
|
|
wxCUserMapper.updateMsgCountDown(tenantEntity.getTenantId(),Arrays.asList(split)); |
|
|
|
|
|
|
|
for (String to:split) { |
|
|
|
subscribeMessage = WxMaSubscribeMessage.builder() |
|
|
|
|