13 lines
285 B
JavaScript
13 lines
285 B
JavaScript
import http from './index.js';
|
|
|
|
// 读取字典数据
|
|
export const getDictionaryOptions = (params) => http.get('/system/dict-data', {params})
|
|
|
|
export const listDictionary = (params) => http.get('/system/dict/tree', {params})
|
|
|
|
|
|
export default {
|
|
getDictionaryOptions,
|
|
listDictionary
|
|
}
|