@At("/saveBuildingImgVideo")
@AdaptBy(type = UploadAdaptor.class, args = { "${app.root}/WEB-INF/tmp" })
@Ok("json")
@RequiresAuthentication
public Object addDo(@Param("fileName") String fileName,@Param("description") String description,@Param("foreignid") String foreignid, @Param("upgteVideo") File f
问答
form 表单多文件上传 后台用File f 只能接收到一个文件的临时路径,Files f 会报错,怎么能回去到两个文件的临时路径
标签:
无
7 回复
file f 接受到C:\Users\Administrator\Desktop\KC_GovOperCommSys\RealTiSystem-modular\wk-app\RealTiSystem\target\RealTiSystem\WEB-INF\tmp\00\00\00\00\00\00\00\41.mp4
file[] f 的为
{"file":{},"meta":{"map":{"filename":"48691553589618710.mp4","Content-Disposition":"form-data","name":"upgteVideo","Content-Type":"video\mp4"}}}
我想获取路径形式的
添加回复
请先登陆