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

15 lines
411 B
JavaScript
Raw Normal View History

2024-09-05 17:41:27 +08:00
import request from '@/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))
}