|
@@ -49,7 +49,7 @@ public class ImageUtil {
|
|
|
//对字节数组Base64编码
|
|
|
BASE64Encoder encoder = new BASE64Encoder();
|
|
|
String base64 = encoder.encode(data);
|
|
|
- System.out.println("网络文件[{}]编码成base64字符串:[{}]"+url.toString()+base64);
|
|
|
+ //System.out.println("网络文件[{}]编码成base64字符串:[{}]"+url.toString()+base64);
|
|
|
return base64;//返回Base64编码过的字节数组字符串
|
|
|
} catch (IOException e) {
|
|
|
e.printStackTrace();
|