Package net.mingsoft.basic.action.web
Class FileAction
java.lang.Object
net.mingsoft.base.action.BaseAction
net.mingsoft.basic.action.BaseAction
net.mingsoft.basic.action.BaseFileAction
net.mingsoft.basic.action.web.FileAction
上传文件
-
Field Summary
Fields inherited from class net.mingsoft.base.action.BaseAction
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.mingsoft.base.entity.ResultDataupload(UploadConfigBean bean, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) Methods inherited from class net.mingsoft.basic.action.BaseFileAction
upload, upload, uploadTemplateMethods inherited from class net.mingsoft.basic.action.BaseAction
checkRandCode, checkRandCode, decryptByAES, encryptByAES, getRandCode, getResString, redirectBack, removeUrlParams, validated, validatedMethods inherited from class net.mingsoft.base.action.BaseAction
getDomain, getHost, getHostIp, getLocaleString, getMapByProperties, getMapByProperties, getResString, getResString, getResString, getUrl, isMobileDevice
-
Constructor Details
-
FileAction
public FileAction()
-
-
Method Details
-
upload
@PostMapping("/upload") @ResponseBody public net.mingsoft.base.entity.ResultData upload(UploadConfigBean bean, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException - Throws:
IOException
-