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