From fe2617a36f52c16f83e7d3cb19d911bb91a3b79f Mon Sep 17 00:00:00 2001 From: lyfO_o <764716047@qq.com> Date: 星期一, 13 六月 2022 09:00:28 +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