mirror of
https://gitee.com/lijingbo-2021/open-anylink-web.git
synced 2026-05-15 11:47:52 +00:00
39 lines
1.1 KiB
JavaScript
39 lines
1.1 KiB
JavaScript
import request from '@/js/utils/request'
|
|
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))
|
|
}
|
|
|
|
export const msgChatCreateSessionService = (obj) => {
|
|
return request.post('/chat/createSession', getReqBody(obj))
|
|
}
|
|
|
|
export const msgChatDeleteSessionService = (obj) => {
|
|
return request.post('/chat/deleteSession', getReqBody(obj))
|
|
}
|
|
|
|
export const msgCreatePartitionService = (obj) => {
|
|
return request.post('/chat/createPartition', getReqBody(obj))
|
|
}
|
|
|
|
export const msgQueryPartitionService = () => {
|
|
return request.post('/chat/queryPartition', getReqBody())
|
|
}
|
|
|
|
export const msgUpdatePartitionService = (obj) => {
|
|
return request.post('/chat/updatePartition', getReqBody(obj))
|
|
}
|
|
|
|
export const msgDeletePartitionService = (obj) => {
|
|
return request.post('/chat/delPartition', getReqBody(obj))
|
|
}
|