var fly = require('./request.js') module.exports = { getNoticeList: getNoticeList, getNoticeDetail: getNoticeDetail, getNewsDetail: getNewsDetail, browseNotice: browseNotice, browseNews: browseNews, newsPosition: newsPosition, getInfoList: getInfoList, infoDetail: infoDetail } function getNoticeList(param) { return fly.get('news/notice/list', 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) }