From a75b18a4157ab486e0b51c438ac165ab3a08e3e0 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期四, 25 七月 2024 18:10:00 +0800
Subject: [PATCH] 代码提交
---
wechat_staff/api/index.js | 154 ++++++++++++++++++++++++++++++++++++++++++++++++---
1 files changed, 145 insertions(+), 9 deletions(-)
diff --git a/wechat_staff/api/index.js b/wechat_staff/api/index.js
index 46f8d12..ba78727 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({
@@ -52,10 +61,47 @@
url: '/web/personnel/getUserDetail',
})
}
+// 鏇存柊浼氬憳淇℃伅
+export const editMember = (data) => {
+ return request({
+ url: '/web/personnel/editUsers',
+ method: 'POST',
+ data
+ })
+}
// 棣栭〉 姣忔棩涓婃柊
export const getDailyUpdates = (data) => {
return request({
url: '/web/customer/getDailyUpdates',
+ data
+ })
+}
+//鎺ㄥ箍鍜ㄨ鍒嗕韩
+export const saveShareRecord = (data) => {
+ return request({
+ url: '/web/customer/saveShareRecord?id='+data,
+ data
+ })
+}
+// 浜у搧瑙嗛
+export const getZhongTaiVideoPage = (data) => {
+ return request({
+ url: '/web/customer/getZhongTaiVideoPage',
+ method: 'POST',
+ data
+ })
+}
+// 棣栭〉 瀹氬埗鏈嶅姟 鍒楄〃
+export const getCustomizedNewsList = (data) => {
+ return request({
+ url: '/web/customer/getCustomizedNewsList',
+ data
+ })
+}
+// 瀹氬埗鏈嶅姟 璇︽儏
+export const getCustomizedNewsDetail = (data) => {
+ return request({
+ url: '/web/customer/getCustomizedNewsDetail',
data
})
}
@@ -90,10 +136,25 @@
data
})
}
-
-export const getUserCard = (data) => {
+// 鎿嶄綔 琛屼负鍐呭
+export const actionDo = (data) => {
return request({
- url: '/web/personnel/getUserCard',
+ url: '/web/customer/actionDo',
+ data
+ })
+}
+// 鑾峰彇瀹㈡埛-娼滃鍒楄〃
+export const getCustomerList = (data) => {
+ return request({
+ url: '/web/personnel/getCustomerList',
+ method: "POST",
+ data
+ })
+}
+// 鎵归噺娣诲姞鍠滄缁欏鎴�
+export const batchAddLike = (data) => {
+ return request({
+ url: '/web/personnel/batchAddLike',
method: "POST",
data
})
@@ -108,7 +169,7 @@
// 蹇楄瑁呬慨 鍐呭
export const pageZSZXContentList = (data) => {
return request({
- url: '/web/customer/pageContentList',
+ url: '/web/customer/getZhongTaiZbDecoPage',
method: "POST",
data
})
@@ -135,15 +196,91 @@
data
})
}
-// 鏇存柊浼氬憳淇℃伅
-export const editMember = (data) => {
+// 鎴戠殑 鏀惰棌/鍠滄鍒楄〃
+export const collectLikePage = (data) => {
return request({
- url: '/web/customer/editMember',
+ url: '/web/customer/collectLikePage',
method: 'POST',
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({
@@ -181,7 +318,6 @@
data
})
}
-// 灏忕▼搴忔敞閿�
export const getCrmAuthUrl = (data) => {
return request({
url: '/web/customer/getCrmAuthUrl',
--
Gitblit v1.9.3