import request from '@/utils/request' // api地址 const apiUri = { bannerList: 'bannerList', fortune:'fortune', homeWord:'homeWord', articleList:'articleList', articleInfo:'articleInfo' } // 页面数据 export function detail(pageId) { return request.get(apiUri.detail, { pageId }) } export const bannerList = (data, option) => { return request.post(apiUri.bannerList, data, option) } export const fortune = (data, option) => { return request.post(apiUri.fortune, data, option) } export const homeWord = (data, option) => { return request.post(apiUri.homeWord, data, option) } export const articleList = (data, option) => { return request.post(apiUri.articleList, data, option) } export const articleInfo = (data, option) => { return request.post(apiUri.articleInfo, data, option) }