锦水居民端小程序
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.

38 lines
1.0 KiB

5 years ago
var fly = require('./request.js')
module.exports = {
5 years ago
modulelist: modulelist,
deptinfolist:deptinfolist,
noticelist: noticelist,
noticeDetail:noticeDetail,
archivedepts:archivedepts,
archivelist:archivelist,
archiveDetail:archiveDetail
5 years ago
}
// 了解锦水-模块管理接口
function modulelist() {
return fly.get('custom/module/list')
}
//了解锦水-硬核管理接口
function deptinfolist(params) {
return fly.get('custom/deptinfo/list',params)
5 years ago
}
// 通知列表(通)
function noticelist(params) {
return fly.get('news/v2/notice/list', params)
5 years ago
}
// 通知详情
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}`)
5 years ago
}