add 文件上传组件
This commit is contained in:
@@ -25,6 +25,8 @@ const checkRuleByCode = (params) => getAction('/sys/checkRule/checkByCode', para
|
||||
|
||||
// 通过文件的id获取文件的相应信息
|
||||
const getFileInfo = (params) => getAction('/sys/oss/file/queryById', params)
|
||||
// 文件上传
|
||||
const uploadFile = (params) => postAction('/sys/common/upload', params)
|
||||
|
||||
// 获取部门列表数据
|
||||
const getDepartmentList = (params) => getAction('/sys/sysDepart/queryTreeList', params)
|
||||
@@ -79,6 +81,7 @@ export {
|
||||
duplicateCheck,
|
||||
checkRuleByCode,
|
||||
getFileInfo,
|
||||
uploadFile,
|
||||
getDepartmentList,
|
||||
getSSOUserInfo,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user