1.聊天系统页面完成

2.功能及接口联调中
This commit is contained in:
2025-04-25 14:09:32 +08:00
parent a3c6bf8e07
commit 13add51a20
6 changed files with 1276 additions and 916 deletions

View File

@@ -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
})
}