pay.js 910 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. import { service } from "./request";
  2. export function withdrawCalcFee(params) {
  3. return service({
  4. url: `/wallet/withdraw/calcFee`,
  5. method: "post",
  6. data: params,
  7. });
  8. }
  9. export function payCalcFee(params) {
  10. return service({
  11. url: `/wallet/pay/calcFee`,
  12. method: "post",
  13. data: params,
  14. });
  15. }
  16. export function getPayConfig(params) {
  17. return service({
  18. url: `/wallet/pay/getConfig`,
  19. method: "post",
  20. data: params,
  21. });
  22. }
  23. // ---- 充值 ----
  24. export function getTokenRechargeAddress(params) {
  25. return service({
  26. url: `/currency/getTokenRechargeAddress`,
  27. method: "post",
  28. data: params,
  29. });
  30. }
  31. export function payNftMysteryBoxWithBalance(params) {
  32. return service({
  33. url: `/wallet/pay/payNftMysteryBoxWithBalance`,
  34. method: "post",
  35. data: params,
  36. });
  37. }
  38. // ---- 提现 ----