app消息接收发送

This commit is contained in:
2023-09-27 20:55:14 +08:00
parent 295cd5c925
commit 1339916988
2 changed files with 3 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ export default {
e = JSON.parse(e)
e.data.pushType="MSG"
e.data.msgContent={
msgType:"UNKOWN",
msgType:"TEXT",
content:e.data.messageBody,
disturb:false,
top:false,
@@ -45,6 +45,7 @@ export default {
e.data.windowType="SINGLE"
e.data.createTime=e.data.messageTime;
e.data.userId=e.data.fromId;
e.data.fromInfo={
userId:e.data.fromId
};