From 5b219a9694c8d69db42e746a654c779cc6a61bf6 Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期四, 18 七月 2024 18:42:20 +0800
Subject: [PATCH] ‘’
---
wechat_staff/api/index.js | 66 +++++++++++++++++++++++++++++++-
1 files changed, 63 insertions(+), 3 deletions(-)
diff --git a/wechat_staff/api/index.js b/wechat_staff/api/index.js
index 982312f..2c30b26 100644
--- a/wechat_staff/api/index.js
+++ b/wechat_staff/api/index.js
@@ -2,10 +2,24 @@
import { baseUrl } from '../utils/config'
export const uploadUrl = baseUrl + '/public/upload'
-// 灏忕▼搴忕櫥褰�
+// 灏忕▼搴� 榛樿鐧诲綍
export const wxLoginCustomer = (data) => {
return request({
- url: '/web/customer/wxLoginCustomer',
+ url: '/web/personnel/loginByWx',
+ data
+ })
+}
+// 楠岃瘉鐮佺櫥褰�
+export const loginByPhone = (data) => {
+ return request({
+ url: '/web/personnel/loginByPhone',
+ data
+ })
+}
+// 鍙戦�侀獙璇佺爜
+export const sendSms = (data) => {
+ return request({
+ url: '/web/personnel/sendSms',
data
})
}
@@ -36,7 +50,53 @@
// 鑾峰彇浼氬憳淇℃伅
export const getMemberInfo = () => {
return request({
- url: '/web/customer/getMemberInfo',
+ url: '/web/personnel/getUserDetail',
+ })
+}
+// 棣栭〉 姣忔棩涓婃柊
+export const getDailyUpdates = (data) => {
+ return request({
+ url: '/web/customer/getDailyUpdates',
+ data
+ })
+}
+// 棣栭〉 鎺ㄥ箍鍜ㄨ鍒嗛〉
+export const newsPage = (data) => {
+ return request({
+ url: '/web/customer/newsPage',
+ data,
+ method: "POST"
+ })
+}
+// 棣栭〉 蹇楄瑁呬慨
+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 pageZSZXContentList = (data) => {
+ return request({
+ url: '/web/customer/pageContentList',
+ method: "POST",
+ data
})
}
// 鑾峰彇闂ㄥ簵鍒楄〃
--
Gitblit v1.9.3