index.js 731 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. import https from "@/plugins/luch-request_0.0.7/request";
  2. /** *
  3. * 客户列表 b
  4. */
  5. export const getList = data => {
  6. return https.get("/custom/list", data);
  7. };
  8. /** *
  9. * 商家端客户详情,包括资产、订单和备注 b
  10. */
  11. export const getUserDet = data => {
  12. return https.get("/custom/detail", data);
  13. };
  14. /** *
  15. * 获取客户详情,包括资产 b
  16. */
  17. export const getDet = data => {
  18. return https.get("/user/detail", data);
  19. };
  20. /** *
  21. * 添加客户 b
  22. */
  23. export const add = data => {
  24. return https.post("/custom/add", data);
  25. };
  26. // 延期付
  27. export const debt = data => {
  28. return https.get("/custom/debt", data);
  29. };
  30. //获取访客
  31. export const getVisit = data => {
  32. return https.get("/custom/get-visit", data);
  33. };