@RestController @RequestMapping(value="/erupt-api/erupt-flow") public class EruptFlowFileController extends Object
| 构造器和说明 |
|---|
EruptFlowFileController() |
| 限定符和类型 | 方法和说明 |
|---|---|
xyz.erupt.core.view.EruptApiModel |
deleteFile(String path) |
xyz.erupt.core.view.EruptApiModel |
upload(org.springframework.web.multipart.MultipartFile file)
上传图片
|
@PostMapping(value="/upload")
@EruptRouter(verifyType=LOGIN)
public xyz.erupt.core.view.EruptApiModel upload(@RequestParam(value="file")
org.springframework.web.multipart.MultipartFile file)
file - @DeleteMapping(value="/file")
@EruptRouter(verifyType=LOGIN)
public xyz.erupt.core.view.EruptApiModel deleteFile(@RequestParam(value="path")
String path)
Copyright © 2023. All rights reserved.