客服:完善消息发送(支持文本和表情)、聊天消息获取

This commit is contained in:
puhui999
2024-06-17 17:33:30 +08:00
parent 760dad0436
commit 793252e4aa
6 changed files with 957 additions and 541 deletions
+3 -2
View File
@@ -15,10 +15,11 @@ const KeFuApi = {
},
});
},
getConversation: () => {
getMessageListPage: (params) => {
return request({
url: '/promotion/kefu-conversation/get',
url: '/promotion/kefu-message/page',
method: 'GET',
params,
custom: {
auth: true,
showLoading: false,
+1 -4
View File
@@ -1,7 +1,4 @@
import { reactive, ref, unref } from 'vue';
import sheep from '@/sheep';
// import chat from '@/sheep/api/chat';
import dayjs from 'dayjs';
import { reactive, ref } from 'vue';
import io from '@hyoga/uni-socket.io';
import { baseUrl, websocketPath } from '@/sheep/config';
export function useWebSocket() {