main
zouyanyan 4 weeks ago
parent e14669f438
commit 8a55783041

@ -754,7 +754,7 @@
name: this.info.chatName,
userid: this.userid,
friendId: this.info.friendId, // userid
teacherId: this.info.teacherId, // userid
teacherId: this.info.teacherId? this.info.teacherId:this.info.instructor, // userid
fromuser: this.info.friendId,
img: this.info.chatAvatar,
atUserIds: data.atUserIds,
@ -891,7 +891,7 @@
name: this.info.chatName,
userid: this.userid,
friendId: this.info.friendId, // userid
teacherId: this.info.teacherId, // userid
teacherId: this.info.teacherId? this.info.teacherId:this.info.instructor, // userid
fromuser: this.unshiftmsg[this.unshiftmsg.length-1].touser,
img: this.unshiftmsg[this.unshiftmsg.length-1].headimg,
sort:"groupchat"
@ -1251,7 +1251,7 @@
name: this.info.chatName,
userid: this.userid,
friendId: this.info.friendId, // userid
teacherId: this.info.teacherId, // userid
teacherId: this.info.teacherId?this.info.teacherId:this.info.instructor, // userid
fromuser: this.info.friendId,
img: this.info.chatAvatar,
sort:"groupchat",

@ -408,7 +408,7 @@
chatAvatar: chat.img,
chatTime: chat.datetime,
friendId: chat.fromuser,
teacherId: chat.teacherId,
teacherId: chat.instructor?chat.instructor:chat.teacherId,
minId: chat.minId,
sort:"groupchat", // privatechat groupchat
from:"message", // yh message

@ -735,8 +735,8 @@
chatAvatar: data.headImage?data.headImage:'/static/image/kfr.png',
chatTime: timestamp,
userid: data.ownerId,
friendId: this.product.customerService, // userid
teacherId: this.product.instructor, // userid
friendId: data.customerService, // userid
teacherId: data.instructor?data.instructor:this.product.instructor, // userid chat.instructor?chat.instructor:chat.teacherId
minId: "", // id
sort:"groupchat", // privatechat groupchat
from:"yh", // yh message

Loading…
Cancel
Save