"use strict"; const uni_modules_uviewPlus_index = require("../uni_modules/uview-plus/index.js"); const weixinLogin = (data) => uni_modules_uviewPlus_index.http.post("member/auth/wx_login", data, { custom: { noToken: true } }); const getUserInfo = (data) => uni_modules_uviewPlus_index.http.post("face/user_info"); const logOut = (data = {}) => uni_modules_uviewPlus_index.http.post("member/auth/logout", data, { custom: { catch: true, toast: false } }); const getNoticeList = (data) => uni_modules_uviewPlus_index.http.post("article/simple_list", data, { custom: { noToken: true } }); const getNoticeDetail = (data) => uni_modules_uviewPlus_index.http.post("article/article_detail?articleId=" + data.articleId, {}, { custom: { noToken: true } }); const getHouses = (data) => uni_modules_uviewPlus_index.http.post("mime/houses", data); const houseTree = (data) => uni_modules_uviewPlus_index.http.post("house/tree", data); const houseRoom = (data) => uni_modules_uviewPlus_index.http.post("house/room_search", data); const houseRoomBind = (data) => uni_modules_uviewPlus_index.http.post("house/bind_room", data); const getFacetoken = (data) => uni_modules_uviewPlus_index.http.post("face/get_token", data); const getFaceResult = (data) => uni_modules_uviewPlus_index.http.post("face/get_result", data); const votePage = (data) => uni_modules_uviewPlus_index.http.post("article/vote_page", data); const voteDetail = (data) => uni_modules_uviewPlus_index.http.post("article/vote_detail", data); const mineVotePage = (data) => uni_modules_uviewPlus_index.http.post("article/mine_vote_page", data); const articleVote = (data) => uni_modules_uviewPlus_index.http.post("article/vote", data); const voteResult = (data) => uni_modules_uviewPlus_index.http.post("article/vote_result", data); const appletSubscribe = (data) => uni_modules_uviewPlus_index.http.post("mime/applet/subscribe", data); const vote_multiple = (data) => uni_modules_uviewPlus_index.http.post("article/vote_multiple", data); exports.appletSubscribe = appletSubscribe; exports.articleVote = articleVote; exports.getFaceResult = getFaceResult; exports.getFacetoken = getFacetoken; exports.getHouses = getHouses; exports.getNoticeDetail = getNoticeDetail; exports.getNoticeList = getNoticeList; exports.getUserInfo = getUserInfo; exports.houseRoom = houseRoom; exports.houseRoomBind = houseRoomBind; exports.houseTree = houseTree; exports.logOut = logOut; exports.mineVotePage = mineVotePage; exports.voteDetail = voteDetail; exports.votePage = votePage; exports.voteResult = voteResult; exports.vote_multiple = vote_multiple; exports.weixinLogin = weixinLogin;