news.js 421 B

123456789
  1. import {request} from './ajax.js'
  2. const commonUrl = '/api/news/'
  3. // 获取sts
  4. export const banner = (data) => request(commonUrl + 'banner', 'post', { ...data })
  5. export const notices = (data) => request(commonUrl + 'notices', 'post', { ...data })
  6. export const addMsg = (data) => request(commonUrl + 'add-msg', 'post', { ...data })
  7. export const getMsgList = (data) => request(commonUrl + 'list-msg', 'post', { ...data })