opt: 字典增加缓存

This commit is contained in:
2025-02-07 16:24:24 +08:00
parent 3ed2f2da5e
commit 6c21c3eb40
8 changed files with 66 additions and 26 deletions

View File

@@ -49,4 +49,12 @@ export function edit(data) {
})
}
export default { get, add, edit, del, getDictMap }
export function getDictDetails(data) {
return request({
url: 'api/dict/dictDetail/post',
method: 'post',
data
})
}
export default { get, add, edit, del, getDictMap, getDictDetails }