finance.js 1004 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. import request from '@/utils/request'
  2. import {upFilse} from '@/utils/request'
  3. export function moneyLog(data,code){
  4. return request({
  5. //地址
  6. url:'/api/money/log/'+code,
  7. //请求方式
  8. method:'get',
  9. //内容
  10. data
  11. })
  12. }
  13. export function wallet(data){
  14. return request({
  15. url:'/api/wallet',
  16. method:'get',
  17. data
  18. })
  19. }
  20. export function goPay(data) {
  21. return request({
  22. url: '/api/trade/go_pay',
  23. method: 'POST',
  24. data
  25. });
  26. }
  27. export function recharge(data) {
  28. return request({
  29. url: '/api/recharge/money',
  30. method: 'post',
  31. data
  32. });
  33. }
  34. export function shan(data) {
  35. return request({
  36. url: '/api/money/exchange',
  37. method: 'POST',
  38. data
  39. });
  40. }
  41. export function cash(data) {
  42. return request({
  43. url: '/api/extract/cash',
  44. method: 'POST',
  45. data
  46. });
  47. }
  48. export function cashmoney_type(data) {
  49. return request({
  50. url: '/api/cash/money_type',
  51. method: 'get',
  52. data
  53. });
  54. }
  55. export function calculator(data) {
  56. return request({
  57. url: '/api/extract/calculator',
  58. method: 'post',
  59. data
  60. });
  61. }