|
|
|
@@ -1069,6 +1069,11 @@ public class WxFlowServiceImpl implements WxFlowService { |
|
|
|
} else if (isBill(flowType)) { |
|
|
|
msgReplaceMap.put("bustype", "账单"); |
|
|
|
msgReplaceMap.put("contract", businessId.toString()); |
|
|
|
} else if (isCoupon(flowType)) { |
|
|
|
wxMsgRecord.setModelType(EnumMsgModel.FLOW_C_REJECT_NODIFY.getCode()); |
|
|
|
WxCoupon wxCoupon = this.wxCouponMapper.selectByPrimaryKey(businessId); |
|
|
|
msgReplaceMap.put("type",EnumCouponType.getEnum(wxCoupon.getType()).getMessage()); |
|
|
|
msgReplaceMap.put("name",wxCoupon.getTitle()); |
|
|
|
} |
|
|
|
wxMsgRecord.setDynamicContentMap(msgReplaceMap); |
|
|
|
mqBaseProducer.sendMessage(wxMsgRecord, EnumMsgMqTopic.DEFAULT.getCode(), EnumMsgMqTag.DEFAULT.getCode(), EnumMsgMqKey.DEFAULT.getCode()); |
|
|
|
|