当adminPath修改过后,发送通知的地址不正确问题
This commit is contained in:
@@ -159,8 +159,8 @@ public class MsgInnerService extends CrudService<MsgInnerDao, MsgInner> {
|
|||||||
if (MsgPush.TYPE_PC.equals(type)){
|
if (MsgPush.TYPE_PC.equals(type)){
|
||||||
msgContent = new PcMsgContent();
|
msgContent = new PcMsgContent();
|
||||||
msgContent.setContent("你有一条内部消息,点击“详情”进行查阅。");
|
msgContent.setContent("你有一条内部消息,点击“详情”进行查阅。");
|
||||||
((PcMsgContent)msgContent).addButton(new String[]{
|
((PcMsgContent)msgContent).addButton(new String[]{"详情",
|
||||||
"详情", "/a/msg/msgInner/view?id="+msgInner.getId()});
|
Global.getAdminPath()+"/msg/msgInner/view?id="+msgInner.getId()});
|
||||||
}else if (MsgPush.TYPE_APP.equals(type)){
|
}else if (MsgPush.TYPE_APP.equals(type)){
|
||||||
msgContent = new AppMsgContent();
|
msgContent = new AppMsgContent();
|
||||||
}else if (MsgPush.TYPE_SMS.equals(type)){
|
}else if (MsgPush.TYPE_SMS.equals(type)){
|
||||||
|
|||||||
Reference in New Issue
Block a user