1.聊天系统页面完成
2.功能及接口联调中
This commit is contained in:
@@ -1,20 +1,20 @@
|
||||
import request from '../utils/request'
|
||||
|
||||
//历史聊天记录查询 用户查询七天前的聊天信息
|
||||
export function getHistory() {
|
||||
export function getHistory(data) {
|
||||
return request({
|
||||
url: `chat/message/find/history/message`,
|
||||
method: 'get',
|
||||
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
//历史聊天记录查询 查询七天内记录
|
||||
export function getHistory7() {
|
||||
export function getHistory7(data) {
|
||||
return request({
|
||||
url: `chat/message/find/recently/message`,
|
||||
method: 'get',
|
||||
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
@@ -29,11 +29,11 @@ export function getReadMessage(data) {
|
||||
}
|
||||
|
||||
//聊天列表
|
||||
export function getRoomList() {
|
||||
export function getRoomList(data) {
|
||||
return request({
|
||||
url: `/chat/rooms/find/room/list`,
|
||||
method: 'get',
|
||||
|
||||
method: 'post',
|
||||
data
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user