diff --git a/yudao-admin-vue3/index.html b/yudao-admin-vue3/index.html index 8cfcbef..fd7ffbd 100644 --- a/yudao-admin-vue3/index.html +++ b/yudao-admin-vue3/index.html @@ -136,7 +136,7 @@
- +
%VITE_APP_TITLE%
diff --git a/yudao-admin-vue3/src/api/mall/promotion/configuration/index.ts b/yudao-admin-vue3/src/api/mall/promotion/configuration/index.ts index 0d26c49..170a388 100644 --- a/yudao-admin-vue3/src/api/mall/promotion/configuration/index.ts +++ b/yudao-admin-vue3/src/api/mall/promotion/configuration/index.ts @@ -3,7 +3,7 @@ import request from '@/config/axios' // 客服配置 VO export interface ConfigurationVO { id: number // id - type: string // 客服类型 + type: number // 客服类型 feedback: string // 客服反馈 phone: string // 客服电话 link: string // 客服链接 diff --git a/yudao-admin-vue3/src/api/mall/promotion/kefu/conversation/index.ts b/yudao-admin-vue3/src/api/mall/promotion/kefu/conversation/index.ts index 6e9589c..c63bc1b 100644 --- a/yudao-admin-vue3/src/api/mall/promotion/kefu/conversation/index.ts +++ b/yudao-admin-vue3/src/api/mall/promotion/kefu/conversation/index.ts @@ -23,8 +23,8 @@ export const KeFuConversationApi = { return await request.get({ url: '/promotion/kefu-conversation/list' }) }, // 获得客服会话列表 - getConversationListByKefuId: async (kefuId: number) => { - return await request.get({ url: '/promotion/kefu-conversation/list?kefuId=' + kefuId }) + getConversationListByKefuId: async (kefuId: number , name: string) => { + return await request.get({ url: '/promotion/kefu-conversation/list?kefuId=' + kefuId + `&name=` + name }) }, // 客服会话置顶 updateConversationPinned: async (data: any) => { diff --git a/yudao-admin-vue3/src/api/mall/promotion/kefu/message/index.ts b/yudao-admin-vue3/src/api/mall/promotion/kefu/message/index.ts index a12167f..95e54a6 100644 --- a/yudao-admin-vue3/src/api/mall/promotion/kefu/message/index.ts +++ b/yudao-admin-vue3/src/api/mall/promotion/kefu/message/index.ts @@ -32,5 +32,10 @@ export const KeFuMessageApi = { // 获得消息分页数据 getKeFuMessagePage: async (params: any) => { return await request.get({ url: '/promotion/kefu-message/page', params }) + }, + + // 获得消息分页数据 + getBySenderIdStat: async (senderId: number) => { + return await request.get({ url: '/promotion/kefu-message/getBySenderIdStat?senderId=' + senderId }) } } diff --git a/yudao-admin-vue3/src/components/DiyEditor/index.vue b/yudao-admin-vue3/src/components/DiyEditor/index.vue index c01f6a9..adc621f 100644 --- a/yudao-admin-vue3/src/components/DiyEditor/index.vue +++ b/yudao-admin-vue3/src/components/DiyEditor/index.vue @@ -120,7 +120,8 @@