From 4752c457102833c0f379f20def46d4da5ff1adeb Mon Sep 17 00:00:00 2001
From: huminmin <mac@MacBook-Pro.local>
Date: 星期三, 29 四月 2026 14:41:21 +0800
Subject: [PATCH] 修改路径

---
 src/api/basicData/customerFile.js |   73 +++++++++++++++---------------------
 1 files changed, 30 insertions(+), 43 deletions(-)

diff --git a/src/api/basicData/customerFile.js b/src/api/basicData/customerFile.js
index c52b76e..6602ddc 100644
--- a/src/api/basicData/customerFile.js
+++ b/src/api/basicData/customerFile.js
@@ -1,52 +1,39 @@
-// 瀹㈡埛妗f椤甸潰鎺ュ彛
 import request from '@/utils/request'
 
-// 鍒嗛〉鏌ヨ
-export function listCustomer(query) {
+export function addCustomerFollow(data) {
     return request({
-        url: '/basic/customer/list',
-        method: 'get',
-        params: query
+        url: '/basic/customer-follow/add',
+        method: 'post',
+        data: data
     })
 }
-// 鏌ヨ瀹㈡埛妗f璇︾粏
-export function getCustomer(id) {
+
+export function updateCustomerFollow(data) {
     return request({
-        url: '/basic/customer/' + id,
+        url: '/basic/customer-follow/edit',
+        method: 'put',
+        data: data,
+    })
+}
+
+export function delCustomerFollow(id) {
+    return request({
+        url: '/basic/customer-follow/' + id,
+        method: 'delete',
+    })
+}
+
+export function addReturnVisit(data) {
+    return request({
+        url: '/basic/customer-follow/return-visit',
+        method: 'post',
+        data: data
+    })
+}
+
+export function getReturnVisit(id) {
+    return request({
+        url: '/basic/customer-follow/return-visit/' + id,
         method: 'get'
     })
 }
-// 鏂板瀹㈡埛妗f
-export function addCustomer(data) {
-    return request({
-        url: '/basic/customer/addCustomer',
-        method: 'post',
-        data: data
-    })
-}
-// 淇敼瀹㈡埛妗f
-export function updateCustomer(data) {
-    return request({
-        url: '/basic/customer/updateCustomer',
-        method: 'post',
-        data: data
-    })
-}
-// 瀵煎嚭瀹㈡埛妗f
-export function exportCustomer(query) {
-    return request({
-        url: '/basic/customer/export',
-        method: 'get',
-        params: query,
-        responseType: 'blob'
-    })
-}
-// 鍒犻櫎瀹㈡埛妗f
-export function delCustomer(ids) {
-    return request({
-        url: '/basic/customer/delCustomer',
-        method: 'delete',
-        data: ids
-    })
-}
-

--
Gitblit v1.9.3