wallet.js 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184
  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. }
  101. // 我的充幣列表
  102. export function czlist(data) {
  103. return request({
  104. url: '/user/czlist',
  105. method: 'get',
  106. data
  107. });
  108. }
  109. // 我的充幣详情
  110. export function czinfo(data) {
  111. return request({
  112. url: '/user/czinfo',
  113. method: 'get',
  114. data
  115. });
  116. }
  117. // 我的提幣列表
  118. export function txlist(data) {
  119. return request({
  120. url: '/user/txlist',
  121. method: 'get',
  122. data
  123. });
  124. }
  125. // 我的提币详情
  126. export function txinfo(data) {
  127. return request({
  128. url: '/user/txinfo',
  129. method: 'get',
  130. data
  131. });
  132. }
  133. // 认购列表
  134. export function index(data) {
  135. return request({
  136. url: '/Issue/index',
  137. method: 'get',
  138. data
  139. });
  140. }
  141. // 认购详情
  142. export function details(data) {
  143. return request({
  144. url: '/Issue/details',
  145. method: 'get',
  146. data
  147. });
  148. }
  149. // 认购
  150. export function upbuynum(data) {
  151. return request({
  152. url: '/Issue/upbuynum',
  153. method: 'get',
  154. data
  155. });
  156. }
  157. // 我的认购
  158. export function issuelog(data) {
  159. return request({
  160. url: '/Issue/issuelog',
  161. method: 'get',
  162. data
  163. });
  164. }