提交 7cd937c3 authored 作者: 刘海泉's avatar 刘海泉

增加跳转地址和参数字段

上级 a50e77b9
package com.clx.performance.service.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.TypeReference;
import com.clx.performance.common.MqWrapper;
import com.clx.performance.config.ConfiguredOpenProperties;
import com.clx.performance.enums.InternalMessageTemplateEnum;
......@@ -158,11 +159,11 @@ public class SendInternalMessageServiceImpl implements SendInternalMessageServic
data.put("businessDetailTypeCode",templateType.getBusinessDetailType().getCode());
data.put("businessDetailTypeTitle",templateType.getBusinessDetailType().getTitle());
if(StringUtils.isNotBlank(templateType.getBusinessDetailType().getJumpUrl())){
data.put("jumpUrl",templateType.getBusinessDetailType().getTitle());
data.put("jumpUrl",templateType.getBusinessDetailType().getJumpUrl());
}
if(StringUtils.isNotBlank(templateType.getBusinessDetailType().getParamJson())){
data.put("jumpUrl",templateType.getBusinessDetailType().getTitle());
data.putAll(JSON.parseObject(templateType.getBusinessDetailType().getParamJson(),new TypeReference<Map<String, String>>(){}));
}
defaultMessageContent.setData(data); //放入标识,让前端根据这个标识跳转页面
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论