index.js 870 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. /** *
  3. * 列表 b
  4. */
  5. export const getProfile = data => {
  6. return https.get('/invite/profile', data)
  7. }
  8. /** *
  9. * 列表 b
  10. */
  11. export const getList = data => {
  12. return https.get('/invite/list', data)
  13. }
  14. // ============================================================
  15. /** *
  16. * 列表 b
  17. */
  18. export const getListB = data => {
  19. return https.get('/invite/list', data)
  20. }
  21. /** *
  22. * 详情 b
  23. */
  24. export const getDet = data => {
  25. return https.get('/invite/detail', data)
  26. }
  27. /** *
  28. * 兑奖 b
  29. */
  30. export const give = data => {
  31. return https.get('/invite/give', data)
  32. }
  33. /** *
  34. * 奖励设置详情 b
  35. */
  36. export const inviteAssetDet = data => {
  37. return https.get('/invite-asset/detail', data)
  38. }
  39. /** *
  40. * 奖励设置详情 b
  41. */
  42. export const inviteAssetUpdate = data => {
  43. return https.post('/invite-asset/update', data)
  44. }