app消息接收发送
This commit is contained in:
@@ -353,7 +353,7 @@ export default {
|
|||||||
time: resbody.createTime, //时间
|
time: resbody.createTime, //时间
|
||||||
fromInfo: resbody.fromInfo, //来源信息
|
fromInfo: resbody.fromInfo, //来源信息
|
||||||
groupInfo: resbody.groupInfo, //群信息
|
groupInfo: resbody.groupInfo, //群信息
|
||||||
userId: _userId, //talktoId
|
userId: userId, //talktoId
|
||||||
personId: resbody.fromInfo.userId,
|
personId: resbody.fromInfo.userId,
|
||||||
msgId: resbody.msgId, //消息Id
|
msgId: resbody.msgId, //消息Id
|
||||||
disturb: resbody.msgContent.disturb, //是否静默消息
|
disturb: resbody.msgContent.disturb, //是否静默消息
|
||||||
|
|||||||
@@ -37,7 +37,7 @@ export default {
|
|||||||
e = JSON.parse(e)
|
e = JSON.parse(e)
|
||||||
e.data.pushType="MSG"
|
e.data.pushType="MSG"
|
||||||
e.data.msgContent={
|
e.data.msgContent={
|
||||||
msgType:"UNKOWN",
|
msgType:"TEXT",
|
||||||
content:e.data.messageBody,
|
content:e.data.messageBody,
|
||||||
disturb:false,
|
disturb:false,
|
||||||
top:false,
|
top:false,
|
||||||
@@ -45,6 +45,7 @@ export default {
|
|||||||
|
|
||||||
e.data.windowType="SINGLE"
|
e.data.windowType="SINGLE"
|
||||||
e.data.createTime=e.data.messageTime;
|
e.data.createTime=e.data.messageTime;
|
||||||
|
e.data.userId=e.data.fromId;
|
||||||
e.data.fromInfo={
|
e.data.fromInfo={
|
||||||
userId:e.data.fromId
|
userId:e.data.fromId
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user