From f34af9bbc5ec1a40fa5d9f658ea2face2fb13b19 Mon Sep 17 00:00:00 2001
From: zhengyiming <540361168@qq.com>
Date: 星期三, 10 九月 2025 15:04:44 +0800
Subject: [PATCH] fix: 公告

---
 packages/services/api/LifePayAnnouncement.ts |   69 ++++++++++++++++++++++++++++++++++
 1 files changed, 69 insertions(+), 0 deletions(-)

diff --git a/packages/services/api/LifePayAnnouncement.ts b/packages/services/api/LifePayAnnouncement.ts
new file mode 100644
index 0000000..4714e3e
--- /dev/null
+++ b/packages/services/api/LifePayAnnouncement.ts
@@ -0,0 +1,69 @@
+/* eslint-disable */
+// @ts-ignore
+import { request } from '@/utils/request';
+
+/** 鏂板缂栬緫鍏憡 POST /api/LifePayAnnouncement/CreateOrEditLifePayAnnouncement */
+export async function createOrEditLifePayAnnouncement(
+  body: API.CreateEditLifePayAnnouncementInput,
+  options?: API.RequestConfig
+) {
+  return request<number>('/api/LifePayAnnouncement/CreateOrEditLifePayAnnouncement', {
+    method: 'POST',
+    headers: {
+      'Content-Type': 'application/json',
+    },
+    data: body,
+    ...(options || {}),
+  });
+}
+
+/** 鍒犻櫎鍏憡 GET /api/LifePayAnnouncement/DeleteLifePayAnnouncement */
+export async function deleteLifePayAnnouncement(
+  // 鍙犲姞鐢熸垚鐨凱aram绫诲瀷 (闈瀊ody鍙傛暟swagger榛樿娌℃湁鐢熸垚瀵硅薄)
+  params: API.APIdeleteLifePayAnnouncementParams,
+  options?: API.RequestConfig
+) {
+  return request<number>('/api/LifePayAnnouncement/DeleteLifePayAnnouncement', {
+    method: 'GET',
+    params: {
+      ...params,
+    },
+    ...(options || {}),
+  });
+}
+
+/** 鑾峰彇鍏憡鍒嗛〉 POST /api/LifePayAnnouncement/GetLifePayAnnouncementPage */
+export async function getLifePayAnnouncementPage(
+  body: API.GetLifePayAnnouncementPageInput,
+  options?: API.RequestConfig
+) {
+  return request<API.CreateEditLifePayAnnouncementOutputPageOutput>(
+    '/api/LifePayAnnouncement/GetLifePayAnnouncementPage',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}
+
+/** 鑾峰彇褰撳墠灞曠ず涓殑鍏憡 POST /api/LifePayAnnouncement/GetShowingLifePayAnnouncement */
+export async function getShowingLifePayAnnouncement(
+  body: API.GetShowingLifePayAnnouncementInput,
+  options?: API.RequestConfig
+) {
+  return request<API.CreateEditLifePayAnnouncementOutput>(
+    '/api/LifePayAnnouncement/GetShowingLifePayAnnouncement',
+    {
+      method: 'POST',
+      headers: {
+        'Content-Type': 'application/json',
+      },
+      data: body,
+      ...(options || {}),
+    }
+  );
+}

--
Gitblit v1.9.1