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.

38 lines
2.6 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 weeks ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 weeks ago
4 months ago
  1. "use strict";
  2. const uni_modules_uviewPlus_index = require("../uni_modules/uview-plus/index.js");
  3. const weixinLogin = (data) => uni_modules_uviewPlus_index.http.post("member/auth/wx_login", data, { custom: { noToken: true } });
  4. const getUserInfo = (data) => uni_modules_uviewPlus_index.http.post("face/user_info");
  5. const logOut = (data = {}) => uni_modules_uviewPlus_index.http.post("member/auth/logout", data, { custom: { catch: true, toast: false } });
  6. const getNoticeList = (data) => uni_modules_uviewPlus_index.http.post("article/simple_list", data, { custom: { noToken: true } });
  7. const getNoticeDetail = (data) => uni_modules_uviewPlus_index.http.post("article/article_detail?articleId=" + data.articleId, {}, { custom: { noToken: true } });
  8. const getHouses = (data) => uni_modules_uviewPlus_index.http.post("mime/houses", data);
  9. const houseTree = (data) => uni_modules_uviewPlus_index.http.post("house/tree", data);
  10. const houseRoom = (data) => uni_modules_uviewPlus_index.http.post("house/room_search", data);
  11. const houseRoomBind = (data) => uni_modules_uviewPlus_index.http.post("house/bind_room", data);
  12. const getFacetoken = (data) => uni_modules_uviewPlus_index.http.post("face/get_token", data);
  13. const getFaceResult = (data) => uni_modules_uviewPlus_index.http.post("face/get_result", data);
  14. const votePage = (data) => uni_modules_uviewPlus_index.http.post("article/vote_page", data);
  15. const voteDetail = (data) => uni_modules_uviewPlus_index.http.post("article/vote_detail", data);
  16. const mineVotePage = (data) => uni_modules_uviewPlus_index.http.post("article/mine_vote_page", data);
  17. const articleVote = (data) => uni_modules_uviewPlus_index.http.post("article/vote", data);
  18. const voteResult = (data) => uni_modules_uviewPlus_index.http.post("article/vote_result", data);
  19. const appletSubscribe = (data) => uni_modules_uviewPlus_index.http.post("mime/applet/subscribe", data);
  20. const vote_multiple = (data) => uni_modules_uviewPlus_index.http.post("article/vote_multiple", data);
  21. exports.appletSubscribe = appletSubscribe;
  22. exports.articleVote = articleVote;
  23. exports.getFaceResult = getFaceResult;
  24. exports.getFacetoken = getFacetoken;
  25. exports.getHouses = getHouses;
  26. exports.getNoticeDetail = getNoticeDetail;
  27. exports.getNoticeList = getNoticeList;
  28. exports.getUserInfo = getUserInfo;
  29. exports.houseRoom = houseRoom;
  30. exports.houseRoomBind = houseRoomBind;
  31. exports.houseTree = houseTree;
  32. exports.logOut = logOut;
  33. exports.mineVotePage = mineVotePage;
  34. exports.voteDetail = voteDetail;
  35. exports.votePage = votePage;
  36. exports.voteResult = voteResult;
  37. exports.vote_multiple = vote_multiple;
  38. exports.weixinLogin = weixinLogin;