2024-10-24 16:46:24 +08:00
|
|
|
import request from '@/js/utils/request'
|
2024-09-06 23:19:54 +08:00
|
|
|
import { getReqBody } from '@/api/common'
|
2024-09-05 17:41:27 +08:00
|
|
|
|
2024-09-09 23:02:36 +08:00
|
|
|
export const msgChatSessionListService = () => {
|
2024-09-05 17:41:27 +08:00
|
|
|
return request.post('/chat/sessionList', getReqBody())
|
|
|
|
|
}
|
2024-09-18 20:32:35 +08:00
|
|
|
|
|
|
|
|
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))
|
|
|
|
|
}
|
2024-10-17 12:50:05 +08:00
|
|
|
|
|
|
|
|
export const msgChatDeleteSessionService = (obj) => {
|
|
|
|
|
return request.post('/chat/deleteSession', getReqBody(obj))
|
|
|
|
|
}
|