Commit 0b1adbf0 authored by 张永's avatar 张永

1

parent 955ca9b6
......@@ -235,7 +235,7 @@ public class HttpUtil {
}
ParamBuffer.append("--" + BOUNDARY + "\r\nContent-Disposition: form-data; name=\"----------------------------------\"\r\n\r\n-------------------------\r\n");
String ParamBufferString = ParamBuffer.toString();
data.add(ParamBufferString.getBytes());
data.add(ParamBufferString.getBytes());
if(attachments != null) {
for(String name : attachments.keySet()) {
StringBuffer FileBuffer = new StringBuffer();
......
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