You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
267 B
TypeScript

import request from '@/config/axios'
// 获取所有字典
export const getDictApi = () => {
return request.get({ url: '/mock/dict/list' })
}
// 模拟获取某个字典
export const getDictOneApi = async () => {
return request.get({ url: '/mock/dict/one' })
}