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

修改长传数据

parent 734d542a
...@@ -159,7 +159,7 @@ public class Base64Utils { ...@@ -159,7 +159,7 @@ public class Base64Utils {
} }
public static String imgToBase64(String imageUrl) { public static String imgToBase64(String imageUrl) {
String encoder = "data:image/png;"; String encoder = "data:image/jpg;base64,";
try { try {
URL url = new URL(imageUrl); URL url = new URL(imageUrl);
// 打开链接 // 打开链接
......
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