@Controller
@RequestMapping(value="common")
public class OSSFileAdminController
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
private ConfigDataComponent |
configDataComponent |
protected LogUploadService |
logUploadService |
private OSSComponent |
ossComponent |
构造器和说明 |
---|
OSSFileAdminController() |
限定符和类型 | 方法和说明 |
---|---|
java.util.Map<java.lang.String,java.lang.String> |
beforeupload(SysSite site,
boolean privatefile,
java.lang.String field,
java.lang.String filename,
javax.servlet.http.HttpServletRequest request) |
java.lang.String |
upload(SysSite site,
boolean privatefile,
org.springframework.ui.ModelMap model) |
java.lang.String |
uploadresult(SysSite site,
SysUser admin,
boolean privatefile,
java.lang.String originalName,
java.lang.String filepath,
javax.servlet.http.HttpServletRequest request) |
private ConfigDataComponent configDataComponent
private OSSComponent ossComponent
protected LogUploadService logUploadService
@RequestMapping(value="uploadresult.html") public java.lang.String uploadresult(@RequestAttribute SysSite site, @SessionAttribute SysUser admin, boolean privatefile, java.lang.String originalName, java.lang.String filepath, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="beforeupload") @ResponseBody public java.util.Map<java.lang.String,java.lang.String> beforeupload(@RequestAttribute SysSite site, boolean privatefile, java.lang.String field, java.lang.String filename, javax.servlet.http.HttpServletRequest request)
@RequestMapping(value="upload.html") public java.lang.String upload(@RequestAttribute SysSite site, boolean privatefile, org.springframework.ui.ModelMap model)