diff --git a/api/apiRoute.js b/api/apiRoute.js index d1869d8..f99b173 100644 --- a/api/apiRoute.js +++ b/api/apiRoute.js @@ -241,6 +241,28 @@ export default { }) }, + //销售端-获取好友关系绑定详情 + xs_chatGetChatFriendsInfo(data = {}) { + let url = '/chat/getChatFriendsInfo' + return http.get(url, data).then(res => { + return res; + }) + }, + //销售端-获取聊天消息列表 + xs_chatGetChatMessagesList(data = {}) { + let url = '/chat/getChatMessagesList' + return http.get(url, data).then(res => { + return res; + }) + }, + //销售端-发送聊天消息 + xs_chatSendChatMessages(data = {}) { + let url = '/chat/sendChatMessages' + return http.post(url, data).then(res => { + return res; + }) + }, + diff --git a/pages/common/im_chat_info.vue b/pages/common/im_chat_info.vue index b0852ab..bc709d3 100644 --- a/pages/common/im_chat_info.vue +++ b/pages/common/im_chat_info.vue @@ -7,12 +7,11 @@ class="section_1" scroll-y="true" :lower-threshold="lowerThreshold" - @scrolltolower="loadMoreData" style="height: 80vh;" > - - {{v.create_time}} + + {{v.created_at}} @@ -43,6 +42,7 @@