index.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import https from '@/plugins/luch-request_0.0.7/request'
  2. export const batchRecover = data => {
  3. return https.post('/item/batch-recover', data)
  4. }
  5. export const batchRemove = data => {
  6. return https.post('/item/batch-remove', data)
  7. }
  8. export const batchEnable = data => {
  9. return https.post('/item/batch-enable', data)
  10. }
  11. export const batchStopItem = data => {
  12. return https.post('/item/batch-stop', data)
  13. }
  14. export const getSkPoster = data => {
  15. return https.get('/item/get-sk-poster', data)
  16. }
  17. export const getHdPoster = data => {
  18. return https.get('/item/get-hd-poster', data)
  19. }
  20. export const breakItem = data => {
  21. return https.post("/item/break-item", data);
  22. };
  23. export const changeVariety = data => {
  24. return https.get('/item/change-variety', data)
  25. }
  26. export const getErrorPrice = data => {
  27. return https.get('/item/get-error-price', data)
  28. }
  29. export const getColorList = data => {
  30. return https.get('/item/color-list', data)
  31. }
  32. export const getPriceChangeList = data => {
  33. return https.get('/price-change/list', data)
  34. }
  35. export const getCostChangeList = data => {
  36. return https.get('/cost-change/list', data)
  37. }