From 07d73df3d817d01ce47f6c7b7a8d8514cd389295 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期四, 13 三月 2025 10:19:44 +0800 Subject: [PATCH] release: @life-payment/core v0.0.3 --- packages/services/api/Account.ts | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 deletions(-) diff --git a/packages/services/api/Account.ts b/packages/services/api/Account.ts index eb4b817..e91fee7 100644 --- a/packages/services/api/Account.ts +++ b/packages/services/api/Account.ts @@ -161,6 +161,21 @@ }); } +/** 鑾峰彇鐢熸椿缂磋垂鐢ㄦ埛韬唤浼氳瘽淇℃伅 GET /api/Account/GetLifePayWxIndentity */ +export async function getLifePayWxIndentity( + // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄) + params: API.APIgetLifePayWxIndentityParams, + options?: API.RequestConfig +) { + return request<API.WxMiniAppIndentityInfo>('/api/Account/GetLifePayWxIndentity', { + method: 'GET', + params: { + ...params, + }, + ...(options || {}), + }); +} + /** 姝ゅ鍚庣娌℃湁鎻愪緵娉ㄩ噴 POST /api/Account/GetOssSTS */ export async function getOssSTS(options?: API.RequestConfig) { return request<API.OssSTSReponse>('/api/Account/GetOssSTS', { @@ -284,6 +299,21 @@ }); } +/** life pay鎵嬫満楠岃瘉鐮佺櫥褰� POST /api/Account/LifePayPhoneMesssageCodeLogin */ +export async function lifePayPhoneMesssageCodeLogin( + body: API.LifePayPhoneMesssageCodeLoginInput, + options?: API.RequestConfig +) { + return request<string>('/api/Account/LifePayPhoneMesssageCodeLogin', { + method: 'POST', + headers: { + 'Content-Type': 'application/json', + }, + data: body, + ...(options || {}), + }); +} + /** 瀵嗙爜鐧诲綍 POST /api/Account/PasswordLogin */ export async function passwordLogin(body: API.PasswordLoginInput, options?: API.RequestConfig) { return request<API.IdentityModelTokenCacheItem>('/api/Account/PasswordLogin', { -- Gitblit v1.9.1