| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- import request from '@/utils/request'
- // 查询聊天消息管理;列表
- export function listMsg(query) {
- return request({
- url: '/chat/msg/list',
- method: 'get',
- params: query
- })
- }
- // 查询聊天消息管理;详细
- export function getMsg(msgId) {
- return request({
- url: '/chat/msg/' + msgId,
- method: 'get'
- })
- }
- // 新增聊天消息管理;
- export function addMsg(data) {
- return request({
- url: '/chat/msg',
- method: 'post',
- data: data
- })
- }
- // 修改聊天消息管理;
- export function updateMsg(data) {
- return request({
- url: '/chat/msg',
- method: 'put',
- data: data
- })
- }
- // 删除聊天消息管理;
- export function msgFriend(msgId) {
- return request({
- url: '/chat/msg/friend',
- method: 'get'
- })
- }
|