index.js 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const rechargeClear = data => {
  3. return https.get('/custom/recharge-clear', data)
  4. }
  5. export const modifySeatSnFn = data => {
  6. return https.get('/custom/modify-seat-sn', data)
  7. }
  8. export const createSeatSnFn = data => {
  9. return https.get('/custom/create-seat-sn', data)
  10. }
  11. export const modifyAddress = data => {
  12. return https.post('/custom/modify-address', data)
  13. }
  14. export const changeIsHd = data => {
  15. return https.get('/custom/change-is-hd', data)
  16. }
  17. export const changeWlName = data => {
  18. return https.get('/custom/change-wl-name', data)
  19. }
  20. export const changeWl = data => {
  21. return https.get('/custom/change-wl', data)
  22. }
  23. export const changeShowStock = data => {
  24. return https.get('/custom/change-show-stock', data)
  25. }
  26. export const changeName = data => {
  27. return https.get('/custom/change-name', data)
  28. }
  29. export const addStaff = data => {
  30. return https.post('/custom/add-staff', data)
  31. }
  32. export const updateDebtLimit = data => {
  33. return https.get('/custom/update-debt-limit', data)
  34. }
  35. export const updateCustomBlack = data => {
  36. return https.get('/custom/set-black', data)
  37. }
  38. export const changeDiscount = data => {
  39. return https.get('/custom/change-discount', data)
  40. }
  41. export const changeLevel = data => {
  42. return https.get('/custom/change-level', data)
  43. }
  44. export const debtChangeList = data => {
  45. return https.get('/custom-debt-change/list', data)
  46. }
  47. export const createCumtomer = data => {
  48. return https.post('/custom/create-customers', data)
  49. }
  50. export const copyCumtomer = data => {
  51. return https.get('/custom/copy-customers', data)
  52. }