三个属性:
accept - 规定可提交的文件类型。
capture - 系统所捕获的默认设备。camera(照相机),camcorder(摄像机),microphone(录音)
mutiple - 支持多选。当支持多选时,multiple优先级高于capture。
几种写法:
三个属性:
accept - 规定可提交的文件类型。
capture - 系统所捕获的默认设备。camera(照相机),camcorder(摄像机),microphone(录音)
mutiple - 支持多选。当支持多选时,multiple优先级高于capture。
几种写法:
H5视频自动播放
一般来说,提供给终端调用的API接口在Controller都会直接使用@ResponseBody来进行注解。此时如果我们想要在其他地方来获取方法的返回值,并做一些操作,此处以保存日志为例。每一个接口返回的都是Result类型,大概如下:@RequestMapping(value="a") @ResponseBody public Result a(){ ... return result;
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M