Commit 3b966f2e by 石头

Merge remote-tracking branch 'origin/master'

2 parents 84b272d3 bd61a49b
......@@ -54,9 +54,9 @@ public class AipUtils {
* @author luxor
* @date 2017/12/7
*/
public static String fixImage(String imageBase64){
return imageBase64.replace("data:image/png;base64,","")
.replace("data:image/jgp;base64,","")
.replace("data:image/jpg;base64,","")
.replace("data:image/jpeg;base64,","");
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!