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 })

