iconLibrary.js
423 Bytes
import { GlAxios } from 'glsx-vue-common'
import axios from './axios'
const path = '/smartService/sysFile/'
// 获取图标列表
function getList(params) {
return GlAxios.get(`${path}getList`, { params })
}
// 修改图片
function updateFile(data, baseURl) {
return axios.post(`${baseURl}${path}saveFile`, data, {
headers: {
'Content-Type': 'application/json'
}
})
}
export { getList, updateFile }