From e372854c71bc97d162452cc4b3f5cfa586da50a8 Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期四, 22 五月 2025 17:06:31 +0800
Subject: [PATCH] feat: UI

---
 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