From b2ef755893a694ea07b7ca2f46e4571bbc8e9cb9 Mon Sep 17 00:00:00 2001 From: xiangpei <xiangpei@timesnew.cn> Date: 星期日, 07 四月 2024 17:09:45 +0800 Subject: [PATCH] 通知接口 --- src/api/platform/unit.js | 12 ++++++++++-- 1 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/api/platform/unit.js b/src/api/platform/unit.js index 6baf955..d3893ce 100644 --- a/src/api/platform/unit.js +++ b/src/api/platform/unit.js @@ -4,8 +4,8 @@ export function listUnit(query) { return request({ url: '/yw-unit/page', - method: 'get', - params: query + method: 'post', + data: query }) } @@ -42,3 +42,11 @@ method: 'delete' }) } + +// 鑾峰彇杩愮淮鍗曚綅涓嬫媺鍒楄〃 +export function unitSelect() { + return request({ + url: '/yw-unit/list', + method: 'get' + }) +} -- Gitblit v1.8.0