From c5c6fa800cedd37cea0e3cc3e68df78b47ee2813 Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期一, 28 八月 2023 10:37:59 +0800
Subject: [PATCH] 111
---
h5_standard/src/apis/index.ts | 36 ++++++++++++++++++++++++++++++++++++
1 files changed, 36 insertions(+), 0 deletions(-)
diff --git a/h5_standard/src/apis/index.ts b/h5_standard/src/apis/index.ts
index dd7739e..90d69b7 100644
--- a/h5_standard/src/apis/index.ts
+++ b/h5_standard/src/apis/index.ts
@@ -11,6 +11,42 @@
})
}
+// 鑾峰彇寰俊openId
+export function wxLogin(params: any): Promise<any> {
+ return httpRequest({
+ url: '/system/wxLogin',
+ method: 'get',
+ params
+ })
+}
+
+// 寰俊灏忕▼搴忕櫥褰�
+export function wxProgramLogin(params: any): Promise<any> {
+ return httpRequest({
+ url: '/system/wxProgramLogin',
+ method: 'get',
+ params
+ })
+}
+
+// 寰俊鍏紬鍙风櫥褰�
+export function wxAccountLogin(data: any): Promise<any> {
+ return httpRequest({
+ url: '/system/wxAccountLogin',
+ method: 'post',
+ data
+ })
+}
+
+// 寰俊閫�鍑虹櫥褰�
+export function wxLoginOut(data: any): Promise<any> {
+ return httpRequest({
+ url: '/system/wxLoginOut',
+ method: 'post',
+ data
+ })
+}
+
// 鑾峰彇浼佷笟id
export function getDingdingCorpId(companyId: any): Promise<any> {
return httpRequest({
--
Gitblit v1.9.3