Files
fateverse-react/src/api/cache.ts
2023-10-13 16:23:20 +08:00

15 lines
331 B
TypeScript

import request from "../utils/request";
export const getCacheOptApi = (cacheKey: string) => {
return request({
url: '/admin/dict/data/option/'+ cacheKey,
method: 'get'
})
}
export const getCacheTypeApi = (cacheKey: string) => {
return request({
url: '/admin/dict/data/type/'+ cacheKey,
method: 'get',
})
}