account.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. import {
  2. service
  3. } from "./request";
  4. export function getBalance(params) {
  5. return service({
  6. url: `/wallet/account/getAllAssetValuation`,
  7. method: 'post',
  8. data: params
  9. })
  10. }
  11. export function transactionsList(params) {
  12. return service({
  13. url: `/wallet/account/listDetail`,
  14. method: 'post',
  15. data: params
  16. })
  17. }
  18. export function getWithdrawConfig(params) {
  19. return service({
  20. url: `/wallet/withdraw/getConfig`,
  21. method: 'post',
  22. data: params
  23. })
  24. }
  25. export function withdrawRequest(params) {
  26. return service({
  27. url: `/wallet/withdraw/request`,
  28. method: 'post',
  29. data: params
  30. })
  31. }
  32. export function getMineLuckdropRecords(params) {
  33. return service({
  34. url: `/post/luckdrop/getMineLuckdropRecords`,
  35. method: 'post',
  36. data: params
  37. })
  38. }
  39. export function getFrontConfig(params) {
  40. return service({
  41. url: `/base/config/getFrontConfig`,
  42. method: 'post',
  43. data: params
  44. })
  45. }
  46. export function usdRechargeRequestByAchpay(params) {
  47. return service({
  48. url: `/wallet/recharge/usdRechargeRequestByAchpay`,
  49. method: 'post',
  50. data: params
  51. })
  52. }
  53. export function calcRechargePayAmount(params) {
  54. return service({
  55. url: `/wallet/pay/calcRechargePayAmount`,
  56. method: 'post',
  57. data: params
  58. })
  59. }