@@ -51,16 +51,14 @@ export function pinChatSession(sessionId, isPinned) {
data: { sessionId, isPinned }
})
}
-
+//获取AI回复
+export function getAiReply(data) {
+ return request({
+ url: '/crm/customer/chat/chatSession/polishingScript',
+ method: 'post',
+ data: data
+ })
+}
// 获取消息列表(分页,带时间游标)
export function getChatMessageList(query) {
@@ -9,11 +9,11 @@ export function listAnalyze(query) {
// 查询客户聊天记录分析列表
-export function listAllAnalyze(query) {
+export function listAllAnalyze(data) {
return request({
url: '/crm/analyze/listAll',
- method: 'get',
- params: query