@RestController
@RequestMapping("/hiver/upload")
public class UploadController
extends Object
文件上传接口
尊重知识产权,CV 请保留版权,海文科技 https://hiver.cc 出品,不允许非法使用,后果自负
- 作者:
- Yazhi Li
-
-
方法概要
plus.hiver.common.api.Result
upload(org.springframework.web.multipart.MultipartFile file,
String base64,
Long categoryId,
jakarta.servlet.http.HttpServletRequest request)
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
构造器详细资料
-
UploadController
public UploadController()
-
方法详细资料
-
upload
@PostMapping("/file")
public plus.hiver.common.api.Result upload(@RequestParam(required=false)
org.springframework.web.multipart.MultipartFile file,
@RequestParam(required=false)
String base64,
@RequestParam(required=false)
Long categoryId,
jakarta.servlet.http.HttpServletRequest request)
-