...
This commit is contained in:
parent
e0e3450a86
commit
1e2a8a64cb
|
@ -28,7 +28,7 @@ public class FileUploadController {
|
||||||
|
|
||||||
private static Logger logger = LoggerFactory.getLogger(FileUploadController.class);
|
private static Logger logger = LoggerFactory.getLogger(FileUploadController.class);
|
||||||
|
|
||||||
SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd/");
|
private static SimpleDateFormat sdf = new SimpleDateFormat("yyyy/MM/dd/");
|
||||||
|
|
||||||
@PostMapping("/upload")
|
@PostMapping("/upload")
|
||||||
public Result<String> upload(@RequestParam("file") MultipartFile uploadFile,
|
public Result<String> upload(@RequestParam("file") MultipartFile uploadFile,
|
||||||
|
|
|
@ -17,7 +17,6 @@ import io.swagger.annotations.Api;
|
||||||
import io.swagger.annotations.ApiImplicitParam;
|
import io.swagger.annotations.ApiImplicitParam;
|
||||||
import io.swagger.annotations.ApiImplicitParams;
|
import io.swagger.annotations.ApiImplicitParams;
|
||||||
import io.swagger.annotations.ApiOperation;
|
import io.swagger.annotations.ApiOperation;
|
||||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.web.bind.annotation.*;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import springfox.documentation.annotations.ApiIgnore;
|
import springfox.documentation.annotations.ApiIgnore;
|
||||||
|
|
Loading…
Reference in New Issue