RuoYi
2020-10-03 c19fec2cf8f23b132c292bb783ff7c309b5c5a96
ruoyi-ui/src/api/system/dict/data.js
@@ -20,7 +20,7 @@
// 根据字典类型查询字典数据信息
export function getDicts(dictType) {
  return request({
    url: '/system/dict/data/dictType/' + dictType,
    url: '/system/dict/data/type/' + dictType,
    method: 'get'
  })
}
@@ -49,4 +49,13 @@
    url: '/system/dict/data/' + dictCode,
    method: 'delete'
  })
}
// 导出字典数据
export function exportData(query) {
  return request({
    url: '/system/dict/data/export',
    method: 'get',
    params: query
  })
}