wallet.js 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. import request from '@/utils/request'
  2. import {
  3. upFilse
  4. } from '@/utils/request'
  5. // 资金列表
  6. export function usercoin(data) {
  7. return request({
  8. url: '/User/usercoin',
  9. method: 'get',
  10. data
  11. });
  12. }
  13. // 我的总资金
  14. export function getallzhehe(data) {
  15. return request({
  16. url: '/User/getallzhehe',
  17. method: 'get',
  18. data
  19. });
  20. }
  21. // 充币列表
  22. export function czcoin(data) {
  23. return request({
  24. url: '/user/czcoin',
  25. method: 'get',
  26. data
  27. });
  28. }
  29. // 充币详情
  30. export function czpage(data) {
  31. return request({
  32. url: '/user/czpage',
  33. method: 'get',
  34. data
  35. });
  36. }
  37. //上传图片
  38. export function upload(data) {
  39. return upFilse({
  40. url: '/User/recharge_img',
  41. method: 'post',
  42. data
  43. });
  44. }
  45. // 充值
  46. export function paycoin(data) {
  47. return request({
  48. url: '/user/paycoin',
  49. method: 'get',
  50. data
  51. });
  52. }
  53. // 提幣列表
  54. export function txcoin(data) {
  55. return request({
  56. url: '/User/txcoin',
  57. method: 'get',
  58. data
  59. });
  60. }
  61. // 提幣詳情
  62. export function txpage(data) {
  63. return request({
  64. url: '/User/txpage',
  65. method: 'get',
  66. data
  67. });
  68. }
  69. // 提幣地址
  70. export function addresslist(data) {
  71. return request({
  72. url: '/User/addresslist',
  73. method: 'get',
  74. data
  75. });
  76. }
  77. // 添加提幣地址
  78. export function upplusaddress(data) {
  79. return request({
  80. url: '/User/upplusaddress',
  81. method: 'get',
  82. data
  83. });
  84. }
  85. // 刪除地址
  86. export function deladdress(data) {
  87. return request({
  88. url: '/User/deladdress',
  89. method: 'get',
  90. data
  91. });
  92. }
  93. // 提幣
  94. export function tbhandle(data) {
  95. return request({
  96. url: '/user/tbhandle',
  97. method: 'get',
  98. data
  99. });
  100. }