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.
40 lines
1.0 KiB
40 lines
1.0 KiB
2 years ago
|
var fly = require('./request.js')
|
||
|
module.exports = {
|
||
|
getNoticeList: getNoticeList,
|
||
|
getNoticeDetail: getNoticeDetail,
|
||
|
getNewsDetail: getNewsDetail,
|
||
|
browseNotice: browseNotice,
|
||
|
browseNews: browseNews,
|
||
|
newsPosition: newsPosition,
|
||
|
getInfoList: getInfoList,
|
||
|
infoDetail: infoDetail,
|
||
|
getConsultion: getConsultion
|
||
|
}
|
||
|
function getNoticeList(param) {
|
||
|
return fly.get('news/notice/list', param)
|
||
|
}
|
||
|
function getConsultion(param) {
|
||
|
return fly.get('custom/consult/listGridOperator', param)
|
||
|
}
|
||
|
function getInfoList(param) {
|
||
|
return fly.get('news/information/listByUserId', param)
|
||
|
}
|
||
|
function getNoticeDetail(id) {
|
||
|
return fly.get('news/notice/detail/'+id)
|
||
|
}
|
||
|
function getNewsDetail(id) {
|
||
|
return fly.get(`news/news/detail/${id}`)
|
||
|
}
|
||
|
function browseNotice(param) {
|
||
|
return fly.post('news/notice/browse', param)
|
||
|
}
|
||
|
function browseNews(param) {
|
||
|
return fly.post('news/news/browse', param)
|
||
|
}
|
||
|
function newsPosition(param) {
|
||
|
return fly.post('news/news/statement', param)
|
||
|
}
|
||
|
function infoDetail(param) {
|
||
|
return fly.post('news/information/read', param)
|
||
|
}
|