From 3633cf70a3d835da15d27a91e7f8f8fd15dbcb35 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 20 三月 2025 10:59:21 +0800 Subject: [PATCH] fix: 三期需求 --- packages/services/api/Account.ts | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/packages/services/api/Account.ts b/packages/services/api/Account.ts index ea2306b..c0b1194 100644 --- a/packages/services/api/Account.ts +++ b/packages/services/api/Account.ts @@ -25,6 +25,18 @@ }); } +/** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 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', + }, + data: body, + ...(options || {}), + }); +} + /** life pay鎵嬫満楠岃瘉鐮佺櫥褰� POST /api/Account/LifePayPhoneMesssageCodeLogin */ export async function lifePayPhoneMesssageCodeLogin( body: API.LifePayPhoneMesssageCodeLoginInput, -- Gitblit v1.9.1