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.
46 lines
1.2 KiB
46 lines
1.2 KiB
var fly = require("./request.js")
|
|
module.exports = {
|
|
modulelist: modulelist,
|
|
deptinfolist:deptinfolist,
|
|
noticelist: noticelist,
|
|
noticeDetail:noticeDetail,
|
|
archivedepts:archivedepts,
|
|
archivelist:archivelist,
|
|
archiveDetail:archiveDetail,
|
|
bannerList:bannerList
|
|
}
|
|
// 了解锦水-模块管理接口
|
|
function modulelist(moduleCategory='') {
|
|
return fly.get(`custom/module/list/${moduleCategory}`)
|
|
}
|
|
//了解锦水-硬核管理接口
|
|
function deptinfolist (params) {
|
|
return fly.get("custom/deptinfo/list",params)
|
|
}
|
|
// 通知列表(通)
|
|
function noticelist (params) {
|
|
return fly.get("news/v2/notice/list", params)
|
|
}
|
|
// 通知详情
|
|
function noticeDetail (noticeId) {
|
|
return fly.get(`news/notice/detail/${noticeId}`)
|
|
}
|
|
// 了解锦水-锦水档案归属部门列表
|
|
function archivedepts(params) {
|
|
return fly.get('custom/archive/depts', params)
|
|
}
|
|
// 了解锦水-锦水档案列表
|
|
function archivelist(params) {
|
|
return fly.get('custom/archive/list', params)
|
|
}
|
|
// 了解锦水-锦水档案详情
|
|
function archiveDetail(archiveId) {
|
|
return fly.get(`custom/archive/detail/${archiveId}`)
|
|
}
|
|
|
|
//获取锦水警事banner列表
|
|
function bannerList(position) {
|
|
return fly.get('news/banner/list', {
|
|
position
|
|
})
|
|
}
|