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.
|
|
|
var fly = require('./request.js')
|
|
|
|
module.exports = {
|
|
|
|
modulelist: modulelist,
|
|
|
|
deptinfolist:deptinfolist,
|
|
|
|
noticelist: noticelist,
|
|
|
|
noticeDetail:noticeDetail,
|
|
|
|
archivedepts:archivedepts,
|
|
|
|
archivelist:archivelist,
|
|
|
|
archiveDetail:archiveDetail
|
|
|
|
}
|
|
|
|
// 了解锦水-模块管理接口
|
|
|
|
function modulelist() {
|
|
|
|
return fly.get('custom/module/list')
|
|
|
|
}
|
|
|
|
//了解锦水-硬核管理接口
|
|
|
|
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}`)
|
|
|
|
}
|