diff --git a/src/api/message.js b/src/api/message.js index da4a392..9ae4e01 100644 --- a/src/api/message.js +++ b/src/api/message.js @@ -4,3 +4,11 @@ import { getReqBody } from '@/api/common' export const msgChatSessionListService = () => { return request.post('/chat/sessionList', getReqBody()) } + +export const msgUpdateSessionService = (obj) => { + return request.post('/chat/updateSession', getReqBody(obj)) +} + +export const msgChatPullMsgService = (obj) => { + return request.post('/chat/pullMsg', getReqBody(obj)) +} diff --git a/src/components/message/InputEditor.vue b/src/components/message/InputEditor.vue index 906f397..89ad2af 100644 --- a/src/components/message/InputEditor.vue +++ b/src/components/message/InputEditor.vue @@ -1,20 +1,24 @@