index.js 852 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const refundMoney = data => {
  3. return https.get('/refund/refund-money', data)
  4. }
  5. export const modifyAmount = data => {
  6. return https.get('/refund/modify-amount', data)
  7. }
  8. export const modifyCause = data => {
  9. return https.get('/refund/modify-cause', data)
  10. }
  11. export const rejectRefund = data => {
  12. return https.post('/refund/reject', data)
  13. }
  14. export const passRefund = data => {
  15. return https.get('/refund/pass', data)
  16. }
  17. export const refundWaste = data => {
  18. return https.post('/refund/refund-waste', data)
  19. }
  20. //退款详情
  21. export const refundDetail = data => {
  22. return https.get('/refund/detail', data)
  23. }
  24. export const refundList = data => {
  25. return https.get('/refund/list', data)
  26. }
  27. export const getRefundListByItem = data => {
  28. return https.get('/refund/get-list-by-item', data)
  29. }