liusheng
2024-05-10 bb60b5747d5f4b85655a541d4990ec7464497b1b
ruoyi-ui/src/api/system/dict/type.js
@@ -20,7 +20,7 @@
// 新增字典类型
export function addType(data) {
  return request({
    url: '/system/dict/type',
    url: '/system/dict/type/add',
    method: 'post',
    data: data
  })
@@ -29,8 +29,8 @@
// 修改字典类型
export function updateType(data) {
  return request({
    url: '/system/dict/type',
    method: 'put',
    url: '/system/dict/type/edit',
    method: 'post',
    data: data
  })
}
@@ -39,7 +39,7 @@
export function delType(dictId) {
  return request({
    url: '/system/dict/type/' + dictId,
    method: 'delete'
    method: 'get'
  })
}
@@ -47,7 +47,7 @@
export function refreshCache() {
  return request({
    url: '/system/dict/type/refreshCache',
    method: 'delete'
    method: 'get'
  })
}
@@ -57,4 +57,4 @@
    url: '/system/dict/type/optionselect',
    method: 'get'
  })
}
}