初始化fateverse
This commit is contained in:
15
src/api/cache.ts
Normal file
15
src/api/cache.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
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',
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user