Map<String,String> uploadParams = new LinkedHashMap<String, String>();
uploadParams.put("fileName", "云化统一信息平台二期演示视频解说词0515v3.docx");
uploadParams.put("site", "attachment");
uploadParams.put("extraParam","");
Map<String, String> headMap = new HashMap<String, String>();
headMap.put("Cookie", "x-token=" + token);
headMap.put("accept", "*/*");
headMap.put("connection", "Keep-Alive");
headMap.put("user-agent", "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1;SV1)");
String strurl = "http://127.0.0.1:20020/x_processplatform_assemble_surface/jaxrs/attachment/upload/work/" + work;
HttpClientUtils.getInstance().uploadFileImpl(
strurl, "F:\\云化统一信息平台二期演示视频解说词0515v3.docx",
"file", uploadParams, headMap);