[update] 文件导入 组件的修改1

This commit is contained in:
fengchenchen
2021-08-30 19:54:21 +08:00
parent e0819ed353
commit a8490aa2bf
2 changed files with 52 additions and 13 deletions
+6 -1
View File
@@ -96,6 +96,10 @@ const checkRuleByCode = (params) => getAction('/sys/checkRule/checkByCode', para
//加载我的通告信息
const getUserNoticeInfo= (params)=>getAction("/sys/sysAnnouncementSend/getMyAnnouncementSend",params);
const getTransitURL = url => `/sys/common/transitRESTful?url=${encodeURIComponent(url)}`
// 通过文件的id获取文件的相应信息
const getFileInfo = (params) => getAction('/sys/oss/file/queryById', params)
// 中转HTTP请求
export const transitRESTful = {
get: (url, parameter) => getAction(getTransitURL(url), parameter),
@@ -168,7 +172,8 @@ export {
resetUserPassword,
getContactsByCompany,
queryallRoles,
getContactsById
getContactsById,
getFileInfo
}