From 1910e9f27373b8b4da75f076762025ceb3419965 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 12 六月 2025 15:40:50 +0800
Subject: [PATCH] fix: 暂时隐藏电信充值通道
---
packages/services/api/Account.ts | 45 +++++++++++++++++++++++++++++++++++++++------
1 files changed, 39 insertions(+), 6 deletions(-)
diff --git a/packages/services/api/Account.ts b/packages/services/api/Account.ts
index ea2306b..d354b68 100644
--- a/packages/services/api/Account.ts
+++ b/packages/services/api/Account.ts
@@ -25,12 +25,9 @@
});
}
-/** life pay鎵嬫満楠岃瘉鐮佺櫥褰� POST /api/Account/LifePayPhoneMesssageCodeLogin */
-export async function lifePayPhoneMesssageCodeLogin(
- body: API.LifePayPhoneMesssageCodeLoginInput,
- options?: API.RequestConfig
-) {
- return request<string>('/api/Account/LifePayPhoneMesssageCodeLogin', {
+/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Account/GetTokenForWeb */
+export async function getTokenForWeb(body: API.AccessRequestDto, options?: API.RequestConfig) {
+ return request<API.IdentityModelTokenCacheItem>('/api/Account/GetTokenForWeb', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
@@ -40,6 +37,42 @@
});
}
+/** life pay鎵嬫満楠岃瘉鐮佺櫥褰� POST /api/Account/LifePayPhoneMesssageCodeLogin */
+export async function lifePayPhoneMesssageCodeLogin(
+ body: API.LifePayPhoneMesssageCodeLoginInput,
+ options?: API.RequestConfig
+) {
+ return request<API.LifePayPhoneMesssageCodeLoginOutput>(
+ '/api/Account/LifePayPhoneMesssageCodeLogin',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
+/** 鏍规嵁鐢ㄦ埛ID鑾峰彇鐢ㄦ埛鏄惁涓哄悗鍙扮鐞嗗憳 POST /api/Account/LifePayUserMesssageByIduser */
+export async function lifePayUserMesssageByIduser(
+ body: API.LifePayUserMesssageByIduserInput,
+ options?: API.RequestConfig
+) {
+ return request<API.LifePayPhoneMesssageCodeLoginOutput>(
+ '/api/Account/LifePayUserMesssageByIduser',
+ {
+ method: 'POST',
+ headers: {
+ 'Content-Type': 'application/json',
+ },
+ data: body,
+ ...(options || {}),
+ }
+ );
+}
+
/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 GET /api/accountAuth/GetCode */
export async function getCode(options?: API.RequestConfig) {
return request<any>('/api/accountAuth/GetCode', {
--
Gitblit v1.9.1