From 5b219a9694c8d69db42e746a654c779cc6a61bf6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:20 +0800
Subject: [PATCH] ‘’
---
wechat_jiaxuan/api/index.js | 175 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 173 insertions(+), 2 deletions(-)
diff --git a/wechat_jiaxuan/api/index.js b/wechat_jiaxuan/api/index.js
index 982312f..8cc744d 100644
--- a/wechat_jiaxuan/api/index.js
+++ b/wechat_jiaxuan/api/index.js
@@ -39,6 +39,65 @@
url: '/web/customer/getMemberInfo',
})
}
+// 棣栭〉 蹇楄瑁呬慨
+export const getZSZXCatalogs = () => {
+ return request({
+ url: '/web/customer/getZSZXCatalogs',
+ method: "POST"
+ })
+}
+// 涓彴鏍囩
+export const getCataLogTagList = (data) => {
+ return request({
+ url: '/web/customer/getCataLogTagList',
+ method: "POST",
+ data
+ })
+}
+// 涓彴 鍒嗙被鏁版嵁
+export const getCatalogList = (data) => {
+ return request({
+ url: '/web/customer/getCatalogList',
+ method: "POST",
+ data
+ })
+}
+// 涓彴 鍒嗙被浜у搧璇︽儏
+export const getProductInfo = (data) => {
+ return request({
+ url: '/web/customer/getProductInfo',
+ data
+ })
+}
+// 涓彴 鍒嗕韩
+export const shareContent = (data) => {
+ return request({
+ url: '/web/customer/shareContent',
+ data
+ })
+}
+// 蹇楄瑁呬慨 鍐呭
+export const pageZSZXContentList = (data) => {
+ return request({
+ url: '/web/customer/getZhongTaiZbDecoPage',
+ 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
+ })
+}
// 鑾峰彇闂ㄥ簵鍒楄〃
export const getShopPage = (data) => {
return request({
@@ -54,6 +113,117 @@
data
})
}
+// 鑾峰彇 瀵艰喘鍒楄〃
+export const myUserPage = (data) => {
+ return request({
+ url: '/web/customer/myUserPage',
+ method: "POST",
+ data
+ })
+}
+// 鑾峰彇 瀵艰喘璇︽儏
+export const usersDetailByIamId = (data) => {
+ return request({
+ url: '/web/customer/usersDetailByIamId',
+ data
+ })
+}
+// 棣栭〉 杞挱 鍒楄〃
+export const getHomeBanner = (data) => {
+ return request({
+ url: '/web/customer/getZhongTaiCarouselImage',
+ method: 'POST',
+ data
+ })
+}
+// 棣栭〉 杞挱 璇︽儏
+export const getHomeBannerDetail = (data) => {
+ return request({
+ url: '/web/customer/getZhongTaiCarouselImageDetail',
+ method: 'POST',
+ data
+ })
+}
+// 鍒嗙被浜у搧 鍒嗛〉鍒楄〃 涓彴
+export const getZhongTaiProductPage = (data) => {
+ return request({
+ url: '/web/customer/getZhongTaiProductPage',
+ method: 'POST',
+ data
+ })
+}
+// 鍒嗙被妗堜緥 鍒嗛〉鍒楄〃 涓彴
+export const getZhongTaiWholecasePage = (data) => {
+ return request({
+ url: '/web/customer/getZhongTaiWholecasePage',
+ method: 'POST',
+ data
+ })
+}
+// 鎴戠殑瀹� 鍒嗛〉鍒楄〃 涓彴
+export const getZhongTaiVideoPage = (data) => {
+ return request({
+ url: '/web/customer/getZhongTaiVideoPage',
+ method: 'POST',
+ 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 actionDo = (data) => {
+ return request({
+ url: '/web/customer/actionDo',
+ data
+ })
+}
+// 鎴戠殑 棰勭害鍒楄〃
+export const customerLogPage = (data) => {
+ return request({
+ url: '/web/customer/customerLogPage',
+ method: 'POST',
+ data
+ })
+}
+// 鍐呭 鍠滄
+export const likeContent = (data) => {
+ return request({
+ url: '/web/customer/likeContent',
+ method: 'GET',
+ data
+ })
+}
+// 鍐呭 鏀惰棌
+export const collectContent = (data) => {
+ return request({
+ url: '/web/customer/collectContent',
+ method: 'GET',
+ data
+ })
+}
+// 鎴戠殑 鍠滄鍒楄〃
+export const getZhongTaiCusFavorite = (data) => {
+ return request({
+ url: '/web/customer/getZhongTaiCusFavorite',
+ method: 'POST',
+ data
+ })
+}
+
// 鏇存柊浼氬憳淇℃伅
export const editMember = (data) => {
return request({
@@ -89,8 +259,9 @@
// 鑾峰彇鐪佸競鍖�
export const getArea = (data) => {
return request({
- url: '/web/common/getArea',
- data
+ url: '/web/common/getAreaTree',
+ data,
+ method: "POST"
})
}
// 灏忕▼搴忔敞閿�
--
Gitblit v1.9.3