前端请求
oneDownload : function(employeeImage,name){
// 单个图片下载
window.location.href = encodeURI(App.getUrl("/api/rearService/safetyManagement/rearFaceRecognitionApplies/oneImgDownload?imgId="+ employeeImage+"&name="+name));
},
batchDownload :function(){
// 图片批量下载
// alert($("#id").val())
window.location.href = encodeURI(App.getUrl("/api/rearService/safetyManagement/rearFaceRecognitionApplies/batchDownload?id="+$("#id").val()))
},
后端响应
@Override
public void oneImgDownload(String imgId, String name, HttpServletResponse response) {
IStoreManager storeManager =