From 816d84a76c1a2f16f88dba70664397961f55caa1 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期五, 26 七月 2024 10:07:56 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 wechat_staff/api/index.js |  108 ++++++++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 105 insertions(+), 3 deletions(-)

diff --git a/wechat_staff/api/index.js b/wechat_staff/api/index.js
index 4cc60e9..73a6bac 100644
--- a/wechat_staff/api/index.js
+++ b/wechat_staff/api/index.js
@@ -23,6 +23,14 @@
     data
   })
 }
+
+export const getUserCard = (data) => {
+  return request({
+    url: '/web/personnel/getUserCard',
+    method: "POST",
+    data
+  })
+}
 // 鑾峰彇鎵嬫満鍙�
 export const getWxMiniPhone = (data) => {
   return request({
@@ -31,6 +39,7 @@
     data
   })
 }
+
 // 缁戝畾Openid
 export const bindingOpenid = (data) => {
   return request({
@@ -134,9 +143,18 @@
     data
   })
 }
-export const getUserCard = (data) => {
+// 鑾峰彇瀹㈡埛-娼滃鍒楄〃
+export const getCustomerList = (data) => {
   return request({
-    url: '/web/personnel/getUserCard',
+    url: '/web/personnel/getCustomerList',
+    method: "POST",
+    data
+  })
+}
+// 鎵归噺娣诲姞鍠滄缁欏鎴�
+export const batchAddLike = (data) => {
+  return request({
+    url: '/web/personnel/batchAddLike',
     method: "POST",
     data
   })
@@ -186,6 +204,83 @@
     data
   })
 }
+// 鍒嗙被浜у搧 鍒嗛〉鍒楄〃 涓彴
+export const getZhongTaiProductPage = (data) => {
+  return request({
+    url: '/web/customer/getZhongTaiProductPage',
+    method: 'POST',
+    data
+  })
+}
+// 涓彴 鍒嗙被浜у搧璇︽儏
+export const getProductInfo = (data) => {
+  return request({
+    url: '/web/customer/getProductInfo',
+    data
+  })
+}
+// 鍒嗙被妗堜緥 鍒嗛〉鍒楄〃 涓彴
+export const getZhongTaiWholecasePage = (data) => {
+  return request({
+    url: '/web/customer/getZhongTaiWholecasePage',
+    method: 'POST',
+    data
+  })
+}
+// 鍒嗙被妗堜緥 璇︽儏
+export const getWholecaseInfo = (data) => {
+  return request({
+    url: '/web/customer/getWholecaseInfo',
+    data
+  })
+} 
+// 鍒嗙被瀹炴櫙 鍒嗛〉鍒楄〃 涓彴
+export const getZhongTaiRealcasePage = (data) => {
+  return request({
+    url: '/web/customer/getZhongTaiRealcasePage',
+    method: 'POST',
+    data
+  })
+}
+// 鍒嗙被瀹炴櫙 璇︽儏
+export const getRealcaseInfo = (data) => {
+  return request({
+    url: '/web/customer/getRealcaseInfo',
+    data
+  })
+}
+// 浜у搧璧勮 鍒嗛〉鍒楄〃 涓彴
+export const getZhongTaiProductNewsPage = (data) => {
+  return request({
+    url: '/web/customer/getZhongTaiProductNewsPage',
+    method: 'POST',
+    data
+  })
+}
+// 浜у搧璧勮 璇︽儏
+export const getProductNewsInfo = (data) => {
+  return request({
+    url: '/web/customer/getProductNewsInfo',
+    method: 'GET',
+    data
+  })
+}
+// 鍐呭 鏀惰棌
+export const collectContent = (data) => {
+  return request({
+    url: '/web/customer/collectContent',
+    method: 'GET',
+    data
+  })
+}
+// 鑾峰彇鍐呭鍒嗕韩娴锋姤
+export const getContentShareImg = (data) => {
+  return request({
+    url: '/web/personnel/getContentShareImg',
+    method: 'POST',
+    data
+  })
+}
 // 0鍏冨畾鍒朵俊鎭�
 export const saveFreeCustomizationApply = (data) => {
   return request({
@@ -223,10 +318,17 @@
     data
   })
 }
-// 灏忕▼搴忔敞閿�
 export const getCrmAuthUrl = (data) => {
   return request({
     url: '/web/customer/getCrmAuthUrl',
     data
   })
 }
+
+export const refreshEnjoy = (obj) =>{
+  let child = obj.selectComponent('.buoyClient');
+  // 璋冪敤瀛愮粍浠朵腑瀹氫箟鐨勬柟娉� 
+  if(child){ 
+    child.freshData();
+  }
+}
\ No newline at end of file

--
Gitblit v1.9.3