第一次提交

This commit is contained in:
gxwebsoft
2023-08-04 13:14:48 +08:00
commit 1b923e5cff
1030 changed files with 128016 additions and 0 deletions

19
api/chat.js Normal file
View File

@@ -0,0 +1,19 @@
import http from './index.js';
export const getConversationList = () => http.get('/love/chat-conversation/app')
export const sendMessage = (data) => http.post('/love/chat-message/app/send', data)
export const getFriemdMessages = (friendId) => http.get('/love/chat-message/app/list/' + friendId)
export const postMarkRead = (data) => http.post('/love/chat-conversation/app/read', data)
export const removeConversation = (id) => http.delete('/love/chat-conversation/' + id)
export default {
getConversationList,
sendMessage,
getFriemdMessages,
postMarkRead,
removeConversation
}