From 3b9fb37703d3437012f0acd2b1376d873e4ddbe1 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期一, 30 九月 2024 15:17:04 +0800
Subject: [PATCH] 大屏先发送一次数据请求

---
 src/api/platform/people.js |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/src/api/platform/people.js b/src/api/platform/people.js
index efc0d1f..5ee7a10 100644
--- a/src/api/platform/people.js
+++ b/src/api/platform/people.js
@@ -17,6 +17,14 @@
   })
 }
 
+// 鏍规嵁杩愮淮鍗曚綅鏌ヨ杩愮淮浜哄憳璇︾粏
+export function getPeopleByUnitId(id) {
+  return request({
+    url: '/yw-people/getPeopleByUnitId/' + id,
+    method: 'get'
+  })
+}
+
 // 鏂板杩愮淮浜哄憳
 export function addPeople(data) {
   return request({

--
Gitblit v1.8.0