字典页面与字典信息页面完成增删改查

This commit is contained in:
chenchun
2022-09-10 20:25:39 +08:00
parent 9f23b911c1
commit b5ad7a1721
8 changed files with 96 additions and 14 deletions

View File

@@ -12,7 +12,7 @@ export function listData(query) {
// 查询字典数据详细
export function getData(dictCode) {
return request({
url: '/system/dict/data/' + dictCode,
url: '/dictionaryInfo/getById/' + dictCode,
method: 'get'
})
}
@@ -37,7 +37,7 @@ export function addData(data) {
// 修改字典数据
export function updateData(data) {
return request({
url: '/system/dict/data',
url: '/dictionaryInfo/update',
method: 'put',
data: data
})