From ccaa5b832d9a741b1c1ca97130205cf25450c86a Mon Sep 17 00:00:00 2001 From: xiaoyong931011 <15274802129@163.com> Date: Tue, 20 Sep 2022 17:43:19 +0800 Subject: [PATCH] 20220902 --- src/main/java/cc/mrbird/febs/pay/service/impl/XcxPayServiceImpl.java | 12 ++++++------ 1 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/pay/service/impl/XcxPayServiceImpl.java b/src/main/java/cc/mrbird/febs/pay/service/impl/XcxPayServiceImpl.java index 4e5ef0f..1645921 100644 --- a/src/main/java/cc/mrbird/febs/pay/service/impl/XcxPayServiceImpl.java +++ b/src/main/java/cc/mrbird/febs/pay/service/impl/XcxPayServiceImpl.java @@ -225,11 +225,11 @@ orderStateMsgVo.setTemplate_id(info.getTemplateId());//订阅消息模板id orderStateMsgVo.setPage(info.getPage()); Map<String, WxTemplateData> m = new HashMap<>(4); - m.put("phrase1", new WxTemplateData(info.getOrderState())); - m.put("thing2", new WxTemplateData(info.getAddressArea())); - m.put("thing3", new WxTemplateData(info.getDetailAddress())); - m.put("thing6", new WxTemplateData(info.getGoodsName())); - m.put("character_string11", new WxTemplateData(info.getTakeCode())); + 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())); + m.put("thing5.DATA", new WxTemplateData(info.getDetailAddress())); + m.put("thing15.DATA", new WxTemplateData(info.getRemark())); orderStateMsgVo.setData(m); String s = JSONUtil.toJsonStr(orderStateMsgVo); log.info(s); @@ -289,7 +289,7 @@ @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()); -- Gitblit v1.9.1