fingerboard.js 446 B

1234567891011121314151617181920
  1. import ajax from '@/utils/request.js';
  2. export function saveChepai(data) {
  3. return ajax({
  4. url: 'car/create',
  5. method: 'POST',
  6. urlType: 'slikRoad',
  7. errorToast: '当前访问人数过多,请重试。',
  8. data,
  9. });
  10. }
  11. export function getChepai(data) {
  12. return ajax({
  13. noLoad: true,
  14. url: '/car/info',
  15. method: 'GET',
  16. urlType: 'slikRoad',
  17. errorToast: '当前访问人数过多,请重试。',
  18. data,
  19. });
  20. }