Commit efa95437 authored by 李洪明's avatar 李洪明

修改长传数据

parent c5a15794
......@@ -183,7 +183,7 @@ public class Base64Utils {
// 关闭输入流
inStream.close();
BASE64Encoder base64Encoder = new BASE64Encoder();
encoder = encoder + base64Encoder.encode(outStream.toByteArray());
encoder = encoder + base64Encoder.encode(outStream.toByteArray()).replace("\r\n", "").trim();
return encoder;
} catch (Exception ex) {
ex.printStackTrace();
......
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