WXL
2024-05-22 e014c6f2c4123d811353b4fe59d1b489e0587543
src/api/system/dict/type.js
@@ -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
  })
}
@@ -38,16 +38,16 @@
// 删除字典类型
export function delType(dictId) {
  return request({
    url: '/system/dict/type/' + dictId,
    method: 'delete'
    url: '/system/dict/type/remove/' + dictId,
    method: 'get'
  })
}
// 刷新字典缓存
export function refreshCache() {
  return request({
    url: '/system/dict/type/refreshCache',
    method: 'delete'
    url: '/system/dict/type/refreshCache/remove',
    method: 'get'
  })
}