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.
50 lines
900 B
50 lines
900 B
import service from '../utils/request'
|
|
|
|
// 获取首页数据
|
|
const getHome = (options) => {
|
|
return service({
|
|
url: 'index',
|
|
method: 'POST',
|
|
data: options,
|
|
})
|
|
}
|
|
// 获取片场展示数据
|
|
const getDisplay = (options) => {
|
|
return service({
|
|
url: 'cate',
|
|
method: 'GET',
|
|
data: options
|
|
})
|
|
}
|
|
//产品列表
|
|
const getDisplayProduct = (options) => {
|
|
return service({
|
|
url: 'product',
|
|
method: 'GET',
|
|
data: options,
|
|
})
|
|
}
|
|
//产品详情
|
|
const getDetailProduct = (options) => {
|
|
return service({
|
|
url: 'detail_product',
|
|
method: 'GET',
|
|
data: options,
|
|
})
|
|
}
|
|
//联系我们
|
|
const getAbout = (options) => {
|
|
return service({
|
|
url: 'about',
|
|
method: 'GET',
|
|
data: options,
|
|
})
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
module.exports = {
|
|
getHome,getDisplay,getDisplayProduct,getDetailProduct,getAbout
|
|
}
|