摘要:
public class HtmlImg { private String content; private List<String> keys;//图片key //返回处理过的Json public String getJsonKeys() { return JSON.toJSONString(this.getKeys()); } /* * 编辑时处理富文本图片路径 * wmy 13:41 20 阅读全文
摘要:
import org.apache.commons.codec.binary.Base64;import org.apache.commons.io.FileUtils; public static void generateImage(String imgStr, String path) { try { byte[] b = Base64.decode... 阅读全文