index.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. import https from "@/plugins/luch-request_0.0.7/request";
  2. /** *
  3. * 赚钱分红 邀请开店
  4. */
  5. export const appyleListApi = async data => {
  6. return https.get("/apply/list", data);
  7. };
  8. /** *
  9. * 获取小程序appID 姜枫 2021-03-23
  10. */
  11. export const getWeixinId = data => {
  12. return https.get('/wx-open/get-mini-info', data)
  13. }
  14. /** *
  15. * 列表 b
  16. */
  17. export const getProfile = data => {
  18. return https.get("/invite/profile", data);
  19. };
  20. /** *
  21. * 列表 b
  22. */
  23. export const getList = data => {
  24. return https.get("/invite/list", data);
  25. };
  26. // ============================================================
  27. /** *
  28. * 列表 b
  29. */
  30. export const getListB = data => {
  31. return https.get("/invite/list", data);
  32. };
  33. /** *
  34. * 详情 b
  35. */
  36. export const getDet = data => {
  37. return https.get("/invite/detail", data);
  38. };
  39. /** *
  40. * 兑奖 b
  41. */
  42. export const give = data => {
  43. return https.get("/invite/give", data);
  44. };
  45. /** *
  46. * 奖励设置详情 b
  47. */
  48. export const inviteAssetDet = data => {
  49. return https.get("/invite-asset/detail", data);
  50. };
  51. /** *
  52. * 奖励设置详情 b
  53. */
  54. export const inviteAssetUpdate = data => {
  55. return https.post("/invite-asset/update", data);
  56. };