message.js 402 B

12345678910
  1. import {request} from '@/service/ajax'
  2. const message = '/admin/message/'
  3. // 消息列表
  4. export const messageList = (data) => request(message + 'list', 'post', { ...data })
  5. // 发消息
  6. export const messageSaveMessage = (data) => request(message + 'saveMessage', 'post', { ...data })
  7. // 获取通讯录
  8. export const messageGetContacts = (data) => request(message + 'getContacts', 'post', { ...data })