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

修改长传数据

parent 2989b2cd
...@@ -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/jpg;base64,"; String encoder = "data:image/png;";
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