You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
cesuan/api/page.js

46 lines
831 B

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