From 0ae264879768af568bb9d12df7c629839583e9ef Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期五, 17 四月 2026 16:08:05 +0800
Subject: [PATCH] Merge branch 'dev_New' of http://114.132.189.42:9002/r/product-inventory-management into dev_New

---
 src/api/basicData/customerFile.js |  116 +++++++++++++++++++++++++++++++++++++++++++++++++---------
 1 files changed, 98 insertions(+), 18 deletions(-)

diff --git a/src/api/basicData/customerFile.js b/src/api/basicData/customerFile.js
index 8685664..7b6d7c6 100644
--- a/src/api/basicData/customerFile.js
+++ b/src/api/basicData/customerFile.js
@@ -1,7 +1,5 @@
-// 瀹㈡埛妗f椤甸潰鎺ュ彛
 import request from '@/utils/request'
 
-// 鍒嗛〉鏌ヨ
 export function listCustomer(query) {
     return request({
         url: '/basic/customer/list',
@@ -9,14 +7,76 @@
         params: query
     })
 }
-// 鏌ヨ瀹㈡埛妗f璇︾粏
+
+// 瀹㈡埛妗f绉佹捣鏌ヨ
+export function listCustomerPrivatePool(query) {
+    return request({
+        url: '/customerPrivatePool/listPage',
+        method: 'get',
+        params: query
+    })
+}
+
+export function addCustomerPrivatePool(data) {
+    return request({
+        url: '/customerPrivatePool/add',
+        method: 'post',
+        data: data
+    })
+}
+
+export function addCustomerPrivate(data) {
+    return request({
+        url: '/customerPrivate/add',
+        method: 'post',
+        data: data
+    })
+}
+
+export function delCustomerPrivate(ids) {
+    return request({
+        url: '/customerPrivate/delete',
+        method: 'delete',
+        data: ids
+    })
+}
+
+export function delCustomerPrivatePool(id) {
+    return request({
+        url: '/customerPrivatePool/delete/' + id,
+        method: 'delete',
+    })
+}
+
+export function shareCustomer(data) {
+    return request({
+        url: '/customerPrivatePool/together',
+        method: 'post',
+        data: data
+    })
+}
+
 export function getCustomer(id) {
     return request({
         url: '/basic/customer/' + id,
         method: 'get'
     })
 }
-// 鏂板瀹㈡埛妗f
+
+export function getCustomerPrivatePoolById(id) {
+    return request({
+        url: '/customerPrivatePool/getbyId/' + id,
+        method: 'get'
+    })
+}
+
+export function getCustomerPrivatePoolInfo(id) {
+    return request({
+        url: '/customerPrivatePool/info/' + id,
+        method: 'get'
+    })
+}
+
 export function addCustomer(data) {
     return request({
         url: '/basic/customer/addCustomer',
@@ -24,7 +84,7 @@
         data: data
     })
 }
-// 淇敼瀹㈡埛妗f
+
 export function updateCustomer(data) {
     return request({
         url: '/basic/customer/updateCustomer',
@@ -32,7 +92,15 @@
         data: data
     })
 }
-// 瀵煎嚭瀹㈡埛妗f
+
+export function updateCustomerPrivatePool(data) {
+    return request({
+        url: '/customerPrivatePool/update',
+        method: 'put',
+        data: data
+    })
+}
+
 export function exportCustomer(query) {
     return request({
         url: '/basic/customer/export',
@@ -41,7 +109,7 @@
         responseType: 'blob'
     })
 }
-// 鍒犻櫎瀹㈡埛妗f
+
 export function delCustomer(ids) {
     return request({
         url: '/basic/customer/delCustomer',
@@ -50,8 +118,6 @@
     })
 }
 
-
-// 鏂板瀹㈡埛璺熻繘
 export function addCustomerFollow(data) {
     return request({
         url: '/basic/customer-follow/add',
@@ -60,18 +126,32 @@
     })
 }
 
-// 淇敼瀹㈡埛璺熻繘
 export function updateCustomerFollow(data) {
-  return request({
-    url: '/basic/customer-follow/edit',
-    method: 'put',
-    data: data,
-  })
+    return request({
+        url: '/basic/customer-follow/edit',
+        method: 'put',
+        data: data,
+    })
 }
-// 鍒犻櫎瀹㈡埛璺熻繘
+
 export function delCustomerFollow(id) {
     return request({
-        url: '/basic/customer-follow/'+id,
+        url: '/basic/customer-follow/' + id,
         method: 'delete',
     })
-}
\ No newline at end of file
+}
+
+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'
+    })
+}

--
Gitblit v1.9.3