From 6ac59f6fa91e51272b8cd4797458995e168ec0f9 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期四, 11 九月 2025 09:13:08 +0800
Subject: [PATCH] feat: 公告

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

diff --git a/packages/core/src/lifeRechargeServices.ts b/packages/core/src/lifeRechargeServices.ts
index 41e981e..9bfcac7 100644
--- a/packages/core/src/lifeRechargeServices.ts
+++ b/packages/core/src/lifeRechargeServices.ts
@@ -464,6 +464,39 @@
       ...(options || {}),
     });
   }
+
+  /** 鑾峰彇褰撳墠灞曠ず涓殑鍏憡 POST /api/LifePayAnnouncement/GetShowingLifePayAnnouncement */
+  async getShowingLifePayAnnouncement(
+    body: GetShowingLifePayAnnouncementInput,
+    options?: RequestConfig
+  ) {
+    return this.request<CreateEditLifePayAnnouncementOutput>(
+      '/api/LifePayAnnouncement/GetShowingLifePayAnnouncement',
+      {
+        method: 'POST',
+        headers: {
+          'Content-Type': 'application/json',
+        },
+        data: body,
+        ...(options || {}),
+      }
+    );
+  }
+
+  /** 鑾峰彇鎶樻墸閫氶亾閰嶇疆鍒楄〃 POST /api/LifePayRate/GetLifePayRateChannelAllList */
+  async getLifePayRateChannelAllList(body: QueryRateChannelInput, options?: RequestConfig) {
+    return this.request<CreateEditRateChannelOutput[]>(
+      '/api/LifePayRate/GetLifePayRateChannelAllList',
+      {
+        method: 'POST',
+        headers: {
+          'Content-Type': 'application/json',
+        },
+        data: body,
+        ...(options || {}),
+      }
+    );
+  }
 }
 
 export interface PhoneMesssageCodeLoginInput {
@@ -1069,3 +1102,42 @@
   /** IdNumber */
   idNumber?: string;
 }
+
+export interface GetShowingLifePayAnnouncementInput {
+  announcementType?: LifeRechargeConstants.AnnouncementTypeEnum;
+}
+
+export interface CreateEditLifePayAnnouncementOutput {
+  id?: string;
+  announcementType: LifeRechargeConstants.AnnouncementTypeEnum;
+  /** 鐢熸晥鏃ユ湡 */
+  startTime: string;
+  /** 鎴鏃ユ湡 */
+  endTime: string;
+  /** 鍏憡鍐呭 */
+  announcementContent: string;
+  creationTime?: string;
+  status?: LifeRechargeConstants.AnnouncementStatusEnum;
+}
+
+export interface QueryRateChannelInput {
+  status?: LifeRechargeConstants.LifePayRateChannelStatus;
+  lifePayOrderType?: LifeRechargeConstants.LifePayOrderTypeEnum;
+}
+
+export interface CreateEditRateChannelOutput {
+  id?: string;
+  lifePayOrderType: LifeRechargeConstants.LifePayOrderTypeEnum;
+  /** 閫氶亾 */
+  rateChannelName: string;
+  /** ID */
+  code: string;
+  /** 渚涘簲鍟嗘姌鎵� */
+  supplierRate: number;
+  /** 骞冲彴鎶樻墸 */
+  platformRate: number;
+  status: LifeRechargeConstants.LifePayRateChannelStatus;
+  /** 閫氱煡鍐呭 */
+  remark: string;
+  creationTime?: string;
+}

--
Gitblit v1.9.1