From ed3d370de25d134f4a5df804785568be6543337f Mon Sep 17 00:00:00 2001 From: heyho Date: Wed, 4 Sep 2024 09:14:33 +0000 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E6=96=B0=E5=A2=9E=E6=8E=A5=E5=8F=A3?= =?UTF-8?q?=E3=80=91=E6=96=B0=E5=A2=9E=E7=B3=BB=E7=BB=9F=E5=AD=97=E5=85=B8?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=8E=A5=E5=8F=A3=20=E9=80=9A=E8=BF=87?= =?UTF-8?q?=E5=AD=97=E5=85=B8=E7=B1=BB=E5=9E=8B=E6=9F=A5=E8=AF=A2=E5=AD=97?= =?UTF-8?q?=E5=85=B8=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: heyho --- sheep/api/system/dict.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 sheep/api/system/dict.js diff --git a/sheep/api/system/dict.js b/sheep/api/system/dict.js new file mode 100644 index 00000000..9ee4ca68 --- /dev/null +++ b/sheep/api/system/dict.js @@ -0,0 +1,16 @@ +import request from '@/sheep/request'; + +const DictApi = { + // 根据字典类型查询字典数据信息 + getDictDataListByType: (type) => { + return request({ + url: `/system/dict-data/type`, + method: 'GET', + params: { + type, + }, + }); + }, +}; + +export default DictApi; \ No newline at end of file