From 73ac6d02a2223f19201426f3c366661d4a8e41bf Mon Sep 17 00:00:00 2001
From: wupengfei <834520024@qq.com>
Date: 星期二, 25 二月 2025 17:14:37 +0800
Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/LifePaymentFront

---
 packages/core/src/lifeRechargeServices.ts |   58 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 58 insertions(+), 0 deletions(-)

diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts
index 3a52b29..4127822 100644
--- a/packages/core/src/lifeRechargeServices.ts
+++ b/packages/core/src/lifeRechargeServices.ts
@@ -143,6 +143,33 @@
       ...(options || {}),
     });
   }
+
+  /** 鑾峰彇鐢熸椿缂磋垂鐢ㄦ埛韬唤浼氳瘽淇℃伅 GET /api/Account/GetLifePayWxIndentity */
+  async getLifePayWxIndentity(
+    // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+    params: APIgetLifePayWxIndentityParams,
+    options?: RequestConfig
+  ) {
+    return this.request<WxMiniAppIndentityInfo>('/api/Account/GetLifePayWxIndentity', {
+      method: 'GET',
+      params: {
+        ...params,
+      },
+      ...(options || {}),
+    });
+  }
+
+  /** 鑾峰彇寰俊鏀粯鐨凧SAPI POST /api/LifePay/GetPayOrderForJsAPI */
+  async getPayOrderForJsAPI(body: GetPayOrderForJsAPIInput, options?: RequestConfig) {
+    return this.request<ModelPaymentMiniPay>('/api/LifePay/GetPayOrderForJsAPI', {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json',
+      },
+      data: body,
+      ...(options || {}),
+    });
+  }
 }
 
 export interface PhoneMesssageCodeLoginInput {
@@ -347,3 +374,34 @@
   cityParentId?: string;
   ciytId?: string;
 }
+export interface APIgetLifePayWxIndentityParams {
+  /** 鐢ㄦ埛鐧诲綍鍑瘉 */
+  code?: string;
+}
+
+export interface WxMiniAppIndentityInfo {
+  /** 浼氳瘽瀵嗛挜 */
+  sessionKey?: string;
+  /** 灏忕▼搴廜penId */
+  openId?: string;
+  /** 鐢ㄦ埛鍚嶏紙璇ュ�间负绌哄垯闇�鎵嬫満鎺堟潈鐧诲綍锛屼笉涓虹┖鍒欏凡鏈夎灏忕▼搴忕敤鎴凤級 */
+  userName?: string;
+  unionId?: string;
+}
+
+export interface GetPayOrderForJsAPIInput {
+  orderNo: string;
+  lifePayType?: LifeRechargeConstants.LifePayTypeEnum;
+  openId?: string;
+  attach?: string;
+}
+
+export interface ModelPaymentMiniPay {
+  nonceStr?: string;
+  package?: string;
+  signType?: string;
+  paySign?: string;
+  timestamp?: string;
+  timeExpire?: string;
+  message?: string;
+}

--
Gitblit v1.9.1