From a52f13d719ee9cd53f129f4c59dcad783977fce9 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期五, 01 九月 2023 11:36:34 +0800
Subject: [PATCH] 小程序接口api 添加

---
 minipro_standard/util/api/index.js |   15 ++++++++++++++-
 1 files changed, 14 insertions(+), 1 deletions(-)

diff --git a/minipro_standard/util/api/index.js b/minipro_standard/util/api/index.js
index 9f2c82b..d2e0fbc 100644
--- a/minipro_standard/util/api/index.js
+++ b/minipro_standard/util/api/index.js
@@ -1,4 +1,3 @@
-console.log('-----------');
 const http = uni.$u.http
 // 鐧诲綍
 export function coustomLogin(params) {
@@ -15,8 +14,22 @@
 	return http.post('/ext/noticesExt/pageCount', data)
 }
 
+// 鑿滃崟鏁版嵁
+export function getTreeList(params) {
+	return http.get('/system/menu/treeNodes', {params})
+}
+
 // 閫�鍑虹櫥褰�
 export function logout() {
 	return http.get(`/wechat/logout`)
 }
 
+// 鐧诲綍
+export function wxAccountLogin(data) {
+	return http.post('/system/wxAccountLogin', data)
+}
+
+// 鑾峰彇褰撳墠鐧诲綍鐢ㄦ埛淇℃伅
+export function getUserInfo(params) {
+	return http.get('/system/getUserInfo', {params})
+}
\ No newline at end of file

--
Gitblit v1.9.3