From ce446f63f1c80e814f7cd94a6abfae61c6d7a22e Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期二, 16 七月 2024 17:32:28 +0800
Subject: [PATCH] Merge branch 'master' of http://139.186.142.91:10010/r/productDev/zbomyoujia

---
 wechat_staff/api/index.js |  102 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 102 insertions(+), 0 deletions(-)

diff --git a/wechat_staff/api/index.js b/wechat_staff/api/index.js
new file mode 100644
index 0000000..982312f
--- /dev/null
+++ b/wechat_staff/api/index.js
@@ -0,0 +1,102 @@
+import { request } from '../utils/request'
+import { baseUrl } from '../utils/config'
+
+export const uploadUrl = baseUrl + '/public/upload'
+// 灏忕▼搴忕櫥褰�
+export const wxLoginCustomer = (data) => {
+  return request({
+    url: '/web/customer/wxLoginCustomer',
+    data
+  })
+}
+// 鑾峰彇鎵嬫満鍙�
+export const getWxMiniPhone = (data) => {
+  return request({
+    url: '/web/customer/getWxMiniPhone',
+    method: "POST",
+    data
+  })
+}
+// 缁戝畾鎵嬫満鍙�
+export const binDingPhone = (data) => {
+  return request({
+    url: '/web/customer/binDingPhone',
+    method: "POST",
+    data
+  })
+}
+// 鑾峰彇瀛楀吀鍊�
+export const getDictData = (data) => {
+  return request({
+    url: '/public/getDictData',
+    data,
+    loading: '0'
+  })
+}
+// 鑾峰彇浼氬憳淇℃伅
+export const getMemberInfo = () => {
+  return request({
+    url: '/web/customer/getMemberInfo',
+  })
+}
+// 鑾峰彇闂ㄥ簵鍒楄〃
+export const getShopPage = (data) => {
+  return request({
+    url: '/web/customer/shopPage',
+    method: 'POST',
+    data
+  })
+}
+// 鑾峰彇闂ㄥ簵璇︽儏
+export const getShopDetail = (data) => {
+  return request({
+    url: '/web/customer/shopDetail',
+    data
+  })
+}
+// 鏇存柊浼氬憳淇℃伅
+export const editMember = (data) => {
+  return request({
+    url: '/web/customer/editMember',
+    method: 'POST',
+    data
+  })
+}
+
+// 0鍏冨畾鍒朵俊鎭�
+export const saveFreeCustomizationApply = (data) => {
+  return request({
+    url: '/web/customer/saveFreeCustomizationApply',
+    method: 'POST',
+    data
+  })
+}
+// 鑾峰彇璁$畻鍣ㄩ厤缃�
+export const getBjParamConfig = (data) => {
+  return request({
+    url: '/web/customer/getBjParamConfig',
+    data
+  })
+}
+// 淇濆瓨璁$畻鍣ㄩ厤缃�
+export const saveRenovationCalculator = (data) => {
+  return request({
+    url: '/web/customer/saveRenovationCalculator',
+    method: 'POST',
+    data
+  })
+}
+// 鑾峰彇鐪佸競鍖�
+export const getArea = (data) => {
+  return request({
+    url: '/web/common/getArea',
+    data
+  })
+}
+// 灏忕▼搴忔敞閿�
+export const wxLogOff = (data) => {
+  return request({
+    url: '/web/customer/logOff',
+    data
+  })
+}
\ No newline at end of file

--
Gitblit v1.9.3