Files
open-anylink-web/src/api/message.js

23 lines
652 B
JavaScript
Raw Normal View History

2024-10-24 16:46:24 +08:00
import request from '@/js/utils/request'
import { getReqBody } from '@/api/common'
2024-09-05 17:41:27 +08:00
export const msgChatSessionListService = () => {
2024-09-05 17:41:27 +08:00
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))
}
2024-09-20 16:15:01 +08:00
export const msgChatCreateSessionService = (obj) => {
return request.post('/chat/createSession', getReqBody(obj))
}
export const msgChatDeleteSessionService = (obj) => {
return request.post('/chat/deleteSession', getReqBody(obj))
}