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 | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
diff --git a/minipro_standard/util/api/index.js b/minipro_standard/util/api/index.js
index c29fb8b..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) {
@@ -18,7 +17,6 @@
// 鑿滃崟鏁版嵁
export function getTreeList(params) {
return http.get('/system/menu/treeNodes', {params})
-
}
// 閫�鍑虹櫥褰�
@@ -26,3 +24,12 @@
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