main
zouyanyan 5 months 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