| | |
| | | orderStateMsgVo.setTouser(info.getOpenId());//用户的openId |
| | | orderStateMsgVo.setTemplate_id(info.getTemplateId());//订阅消息模板id |
| | | orderStateMsgVo.setPage(info.getPage()); |
| | | Map<String, WxTemplateData> m = new HashMap<>(4); |
| | | Map<String, WxTemplateData> m = new HashMap<>(5); |
| | | m.put("thing4.DATA", new WxTemplateData(info.getAddressArea())); |
| | | m.put("phone_number14.DATA", new WxTemplateData(info.getLeaderPhone())); |
| | | m.put("thing3.DATA", new WxTemplateData(info.getGoodsName())); |
| | |
| | | @Override |
| | | public List<String> getTemplateId() { |
| | | List<String> wxTemplates = new ArrayList<>(); |
| | | List<DataDictionaryCustom> wxTemplateList = dataDictionaryCustomMapper.selectDicByType(DataDictionaryEnum.WX_TEMPLATE_ID_ONE.getType()); |
| | | List<DataDictionaryCustom> wxTemplateList = dataDictionaryCustomMapper.selectDicByType(DataDictionaryEnum.WX_TEMPLATE_ID_THREE.getType()); |
| | | if(CollUtil.isNotEmpty(wxTemplateList)){ |
| | | for(DataDictionaryCustom dic : wxTemplateList){ |
| | | wxTemplates.add(dic.getValue()); |