@Controller
@RequestMapping(value="file")
public class FileAdminController
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
private ConfigDataComponent |
configDataComponent |
protected FileUploadComponent |
fileUploadComponent |
private org.springframework.web.servlet.LocaleResolver |
localeResolver |
protected org.apache.commons.logging.Log |
log |
protected LogUploadService |
logUploadService |
protected SafeConfigComponent |
safeConfigComponent |
protected SiteComponent |
siteComponent |
构造器和说明 |
---|
FileAdminController() |
限定符和类型 | 方法和说明 |
---|---|
java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
batchUpload(SysSite site,
SysUser admin,
org.springframework.web.multipart.MultipartFile[] files,
java.lang.String field,
java.lang.String originalField,
javax.servlet.http.HttpServletRequest request) |
java.util.Map<java.lang.String,java.lang.Object> |
doImport(SysSite site,
SysUser admin,
org.springframework.web.multipart.MultipartFile file,
boolean overrideTitle,
boolean useIframe,
java.lang.String width,
java.lang.String height,
java.lang.String defaultFontFamily,
java.lang.String field,
java.lang.String titleField,
javax.servlet.http.HttpServletRequest request) |
java.util.Map<java.lang.String,java.lang.Object> |
upload(SysSite site,
SysUser admin,
boolean privatefile,
org.springframework.web.multipart.MultipartFile file,
java.lang.String base64File,
java.lang.String originalFilename,
java.lang.String field,
java.lang.String originalField,
javax.servlet.http.HttpServletRequest request) |
protected final org.apache.commons.logging.Log log
protected LogUploadService logUploadService
protected SiteComponent siteComponent
protected FileUploadComponent fileUploadComponent
private ConfigDataComponent configDataComponent
protected SafeConfigComponent safeConfigComponent
private org.springframework.web.servlet.LocaleResolver localeResolver
@PostMapping(value="doUpload") @ResponseBody public java.util.Map<java.lang.String,java.lang.Object> upload(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, boolean privatefile, org.springframework.web.multipart.MultipartFile file, java.lang.String base64File, java.lang.String originalFilename, java.lang.String field, java.lang.String originalField, javax.servlet.http.HttpServletRequest request)
site
- admin
- privatefile
- file
- base64File
- originalFilename
- field
- originalField
- request
- @PostMapping(value="doImport") @ResponseBody public java.util.Map<java.lang.String,java.lang.Object> doImport(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, org.springframework.web.multipart.MultipartFile file, boolean overrideTitle, boolean useIframe, java.lang.String width, java.lang.String height, java.lang.String defaultFontFamily, java.lang.String field, java.lang.String titleField, javax.servlet.http.HttpServletRequest request)
site
- admin
- file
- overrideTitle
- useIframe
- width
- height
- defaultFontFamily
- field
- titleField
- request
- @PostMapping(value="doBatchUpload") @ResponseBody public java.util.List<java.util.Map<java.lang.String,java.lang.Object>> batchUpload(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, org.springframework.web.multipart.MultipartFile[] files, java.lang.String field, java.lang.String originalField, javax.servlet.http.HttpServletRequest request)
site
- admin
- files
- field
- originalField
- request
-