xj.js 595 B

123456789101112131415161718192021222324252627
  1. import https from "@/plugins/luch-request_0.0.7/request";
  2. //获取商家小菊
  3. export const getSjXj = data => {
  4. return https.get("/xj/get-sj-xj", data);
  5. };
  6. //获取所有小菊
  7. export const getAllXj = data => {
  8. return https.get("/xj/get-all-xj", data);
  9. };
  10. export const getFilterXj = data => {
  11. return https.get("/xj/get-filter-xj", data);
  12. };
  13. export const ReplaceXj = data => {
  14. return https.get("/shop-ext/replace-xj", data);
  15. };
  16. export const clearAll = data => {
  17. return https.get("/xj/clear-all", data);
  18. };
  19. export const batchAdd = data => {
  20. return https.post("/xj/batch-add", data);
  21. };