xnzt/xnzt-h5/api/lef/policyPublish.js

43 lines
931 B
JavaScript
Raw Permalink Normal View History

2024-11-11 10:27:27 +08:00
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
})
}