import request from '/@/utils/request';

/**
 * 根据字典类型获取字典数据
 * @param type 字典类型
 */
export const getDictByType = (type: string) => {
	return request({
		url: `/admin/dict/item/type/${type}`,
		method: 'get',
	});
};

