From 44c055f3ac9d0e826caef90a6f7e3ed2a051778d Mon Sep 17 00:00:00 2001 From: zhaoyongnian <541231643@qq.com> Date: Wed, 9 Sep 2020 16:47:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=AF=E5=88=86=E5=9F=8B=E7=82=B9=E6=8B=86?= =?UTF-8?q?=E5=88=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- epdc-resident-mp-yushan/utils/home.js | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/epdc-resident-mp-yushan/utils/home.js b/epdc-resident-mp-yushan/utils/home.js index a153670..3ca5c85 100644 --- a/epdc-resident-mp-yushan/utils/home.js +++ b/epdc-resident-mp-yushan/utils/home.js @@ -6,9 +6,13 @@ module.exports = { browseNotice: browseNotice, browseNews: browseNews, newsPosition: newsPosition, + newsSupport:newsSupport, + newsOpposition:newsOpposition, getInfoList: getInfoList, infoDetail: infoDetail, - getConsultion: getConsultion + getConsultion: getConsultion, + browsePoints:browsePoints, + getResidentConfig:getResidentConfig } function getNoticeList(param) { return fly.get('news/notice/list', param) @@ -34,6 +38,22 @@ function browseNews(param) { function newsPosition(param) { return fly.post('news/news/statement', param) } +// 新闻支持 v2 +function newsSupport (param) { + return fly.post("news/news/newsSupport", param) +} +// 新闻反对 v2 +function newsOpposition (param) { + return fly.post("news/news/newsOpposition", param) +} function infoDetail(param) { return fly.post('news/information/read', param) } +// 新闻浏览加积分 +function browsePoints (param) { + return fly.post("news/news/browsePoints", param) +} +// 获取居民端配置 +function getResidentConfig () { + return fly.get("residentConfig/getResidentConfig") +}