用户管理
This commit is contained in:
@@ -19,7 +19,7 @@ export const updateDictData = (params: Dict.ResDictData) => {
|
||||
|
||||
//删除字典数据
|
||||
export const deleteDictData = (params: string[]) => {
|
||||
return http.delete(`/dictData/delete`, params)
|
||||
return http.post(`/dictData/delete`, params)
|
||||
}
|
||||
|
||||
export const getDicDataById = (params: string) => {
|
||||
|
||||
@@ -18,6 +18,6 @@ export const updateDictPq = (params: Dict.ResDictPq) => {
|
||||
|
||||
//删除字典类型
|
||||
export const deleteDictPq = (params: string[]) => {
|
||||
return http.delete(`/dictPq/delete`, params)
|
||||
return http.post(`/dictPq/delete`, params)
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ export const addDictTree = (params: Dict.ResDictTree) => {
|
||||
|
||||
//编辑字典类型
|
||||
export const updateDictTree = (params: Dict.ResDictTree) => {
|
||||
return http.post(`/dictTree/update`, params)
|
||||
return http.put(`/dictTree/update`, params)
|
||||
}
|
||||
|
||||
//删除字典类型
|
||||
|
||||
@@ -18,7 +18,7 @@ export const updateDictType = (params: Dict.ResDictType) => {
|
||||
|
||||
//删除字典类型
|
||||
export const deleteDictType = (params: string[]) => {
|
||||
return http.delete(`/dictType/delete`, params)
|
||||
return http.post(`/dictType/delete`, params)
|
||||
}
|
||||
|
||||
//导出字典类型
|
||||
|
||||
Reference in New Issue
Block a user