43 lines
931 B
JavaScript
43 lines
931 B
JavaScript
import request from '@/utils/request'
|
|
|
|
|
|
// 查询政策信息首页展示列表
|
|
export function listPolicyPublish(query, showTotal) {
|
|
return request({
|
|
url: '/index_front/policyInformation/list',
|
|
method: 'get',
|
|
params: query
|
|
})
|
|
}
|
|
|
|
// 查询政策信息首页展示详细
|
|
export function getPolicyPublish(id) {
|
|
return request({
|
|
url: '/index_front/policyInformation/' + id,
|
|
method: 'get'
|
|
})
|
|
}
|
|
|
|
// 字典信息查询
|
|
export function dict(type) {
|
|
return request({
|
|
url: '/managelef/demandManage/PublishNDict/' + type,
|
|
method: 'get',
|
|
})
|
|
}
|
|
// 查询首页banner图片列表
|
|
export function bannerList() {
|
|
return request({
|
|
url: '/xnzt/banner/list',
|
|
method: 'get'
|
|
})
|
|
}
|
|
// 查询首页公告列表
|
|
export function announcement(query) {
|
|
return request({
|
|
url: '/lef/message/list',
|
|
method: 'get',
|
|
params:query
|
|
})
|
|
}
|