quick.js 426 B

1234567891011121314151617181920212223242526
  1. import request from '@/utils/request'
  2. // 获取兑换比例
  3. export function getTicket(data) {
  4. return request({
  5. url: '/api/ticket',
  6. method: 'get',
  7. data
  8. });
  9. }
  10. // 兑换文票
  11. export function getExchange(data) {
  12. return request({
  13. url: '/api/exchange',
  14. method: 'post',
  15. data
  16. });
  17. }
  18. // 兑换文票
  19. export function getExchangeList(data) {
  20. return request({
  21. url: '/api/exchange_list',
  22. method: 'get',
  23. data
  24. });
  25. }