From 82416a8117dd69be757380e8a42ecbac6e861e11 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期四, 19 三月 2026 11:12:36 +0800
Subject: [PATCH] Merge branch 'rcs_master' into jdxaj

---
 zy-acs-flow/src/map/http.js |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/zy-acs-flow/src/map/http.js b/zy-acs-flow/src/map/http.js
index f1be56e..bf59dcc 100644
--- a/zy-acs-flow/src/map/http.js
+++ b/zy-acs-flow/src/map/http.js
@@ -497,3 +497,18 @@
     }
     return [];
 }
+
+export const fetchNewsLogs = async () => {
+    try {
+        const res = await request.get('/news/print');
+        const { code, msg, data } = res.data;
+        if (code === 200) {
+            return Array.isArray(data) ? data : [];
+        }
+        notify?.error(msg);
+    } catch (error) {
+        notify?.error(error.message);
+        console.error(error.message);
+    }
+    return null;
+}
\ No newline at end of file

--
Gitblit v1.9.1