提交数据格式
[{"name":"files","uri":"_doc/uniapp_temp/compressed/1547715574757.JPG"},{"name":"files","uri":"_doc/uniapp_temp/compressed/1547715574788.PNG"}]
后台如何接收
日志
2019-01-17 17:04:29,711 org.nutz.mvc.impl.UrlMappingImpl.get(UrlMappingImpl.java:101) DEBUG - Found mapping for [POST] path=/api/feedbackUpload : ApiOpenModule.feedbackUpload(ApiOpenModule.java:238)
2019-01-17 17:04:29,711 org.nutz.ioc.impl.NutIoc.get(NutIoc.java:166) DEBUG - Get 'apiOpenModule'<class com.yunqi.modules.controller.api.ApiOpenModule>
2019-01-17 17:04:29,725 org.nutz.mvc.upload.UploadAdaptor.getReferObject(UploadAdaptor.java:184) DEBUG - Select Html4 Form upload parser --> /api/feedbackUpload
2019-01-17 17:04:29,739 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:39) DEBUG - FastUpload : /api/feedbackUpload
2019-01-17 17:04:29,740 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:54) DEBUG - info created
2019-01-17 17:04:29,740 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:60) DEBUG - Params map created - 0 params
2019-01-17 17:04:29,741 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:77) DEBUG - boundary:
--io.dcloud.uploader15477158696545
2019-01-17 17:04:29,949 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:100) DEBUG - skip first boundary
2019-01-17 17:04:29,949 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:111) DEBUG - Reading...
2019-01-17 17:04:29,950 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:133) DEBUG - Upload File info: FilePath=[1547715849236.JPG],fieldName=[files0]
2019-01-17 17:04:29,951 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:137) DEBUG - Upload Info: name=1547715849236.JPG,content_type=image/jpeg
2019-01-17 17:04:30,021 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:133) DEBUG - Upload File info: FilePath=[1547715849265.PNG],fieldName=[files1]
2019-01-17 17:04:30,021 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:137) DEBUG - Upload Info: name=1547715849265.PNG,content_type=image/png
2019-01-17 17:04:48,009 org.nutz.mvc.upload.FastUploading.parse(FastUploading.java:231) DEBUG - ...Done 1200664 bytes readed
>>>>:[Lorg.nutz.mvc.upload.TempFile;@10c30b3f
长度:0