new.js 282 B

123456789101112131415161718
  1. import request from '@/utils/request'
  2. // 佣金转账
  3. export function trade(data) {
  4. return request({
  5. url: '/api/trade',
  6. method: 'post',
  7. data
  8. });
  9. }
  10. // 积分转账
  11. export function tradeUser(data) {
  12. return request({
  13. url: '/api/user/trade',
  14. method: 'post',
  15. data
  16. });
  17. }