Commit 563cfd5c authored by Quxl's avatar Quxl

修改文件上传工具,删除不必要参数

Change-Id: I328429ac811b8f98671ce2d4727692d6b6ca9010
parent 557ec01e
...@@ -233,7 +233,7 @@ public class HttpUtil { ...@@ -233,7 +233,7 @@ public class HttpUtil {
ParamBuffer.append(parameters.get(key) + "\r\n"); ParamBuffer.append(parameters.get(key) + "\r\n");
} }
} }
ParamBuffer.append("--" + BOUNDARY + "\r\nContent-Disposition: form-data; name=\"----------------------------------\"\r\n\r\n-------------------------\r\n"); //ParamBuffer.append("--" + BOUNDARY + "\r\nContent-Disposition: form-data; name=\"----------------------------------\"\r\n\r\n-------------------------\r\n");
String ParamBufferString = ParamBuffer.toString(); String ParamBufferString = ParamBuffer.toString();
data.add(ParamBufferString.getBytes()); data.add(ParamBufferString.getBytes());
if(attachments != null) { if(attachments != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment