Files
aishangjia-uniapp/api/dict.js

16 lines
351 B
JavaScript

import http from './index.js';
import {
serverUrl
} from '@/config.js';
// 读取字典数据
export const getDictionaryOptions = (params) => http.get(serverUrl + '/system/dict-data', {params})
export const listDictionary = (params) => http.get(serverUrl + '/system/dict/tree', {params})
export default {
getDictionaryOptions,
listDictionary
}