integral.js 578 B

1234567891011121314151617181920212223242526
  1. import http from '@/http/api.js'
  2. // 积分兑换记录
  3. export function integralExchangeRecord(params) {
  4. return http.request({
  5. url: '/blade-purchase-sales/integraldetail/integralExchangeRecord',
  6. method: 'GET',
  7. params
  8. })
  9. }
  10. // 积分获取记录
  11. export function integralRecord(params) {
  12. return http.request({
  13. url: '/blade-purchase-sales/integraldetail/integralRecord',
  14. method: 'GET',
  15. params
  16. })
  17. }
  18. // 消费记录
  19. export function consumptionRecords(params) {
  20. return http.request({
  21. url: '/blade-sales-part/order/consumptionRecords',
  22. method: 'GET',
  23. params
  24. })
  25. }