15 lines
331 B
TypeScript
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',
|
|
})
|
|
} |