微调
This commit is contained in:
@@ -14,7 +14,7 @@ export const addDictData = (params: Dict.ResDictData) => {
|
||||
|
||||
//编辑字典数据
|
||||
export const updateDictData = (params: Dict.ResDictData) => {
|
||||
return http.put(`/dictData/update`, params)
|
||||
return http.post(`/dictData/update`, params)
|
||||
}
|
||||
|
||||
//删除字典数据
|
||||
|
||||
@@ -13,7 +13,7 @@ export const addDictPq = (params: Dict.ResDictPq) => {
|
||||
|
||||
//编辑字典类型
|
||||
export const updateDictPq = (params: Dict.ResDictPq) => {
|
||||
return http.put(`/dictPq/update`, params)
|
||||
return http.post(`/dictPq/update`, params)
|
||||
}
|
||||
|
||||
//删除字典类型
|
||||
|
||||
@@ -13,7 +13,7 @@ export const addDictTree = (params: Dict.ResDictTree) => {
|
||||
|
||||
//编辑字典类型
|
||||
export const updateDictTree = (params: Dict.ResDictTree) => {
|
||||
return http.put(`/dictTree/update`, params)
|
||||
return http.post(`/dictTree/update`, params)
|
||||
}
|
||||
|
||||
//删除字典类型
|
||||
|
||||
@@ -13,7 +13,7 @@ export const addDictType = (params: Dict.ResDictType) => {
|
||||
|
||||
//编辑字典类型
|
||||
export const updateDictType = (params: Dict.ResDictType) => {
|
||||
return http.put(`/dictType/update`, params)
|
||||
return http.post(`/dictType/update`, params)
|
||||
}
|
||||
|
||||
//删除字典类型
|
||||
|
||||
Reference in New Issue
Block a user