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
|
|
|
|
}
|
|
|
|
// 了解锦水-模块管理接口
|
|
|
|
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}`)
|
|
|
|
}
|