From 5c1793739a6a6f82ab463c6222cb7b62072f055d Mon Sep 17 00:00:00 2001
From: Admin <978517621@qq.com>
Date: Wed, 26 Oct 2022 16:54:25 +0800
Subject: [PATCH] 默认更改列表
---
src/api/dictionary.js | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/src/api/dictionary.js b/src/api/dictionary.js
index 0b1bfd4..c6f83d5 100644
--- a/src/api/dictionary.js
+++ b/src/api/dictionary.js
@@ -101,3 +101,13 @@
data
})
}
+
+export function getItemsByType(type) {
+ return request({
+ headers:{
+ 'Authorization': getToken()
+ },
+ url: process.env.BASE_API+'/dictionaryAllItems?dictionaryType='+type,
+ method: 'get',
+ })
+}
--
Gitblit v1.9.2