2020年12月13日

HttpUtil 发送请求

摘要: /** * 发送http请求 get方式 * * @param url * @return */public static String sendGet(String url) { String result = ""; BufferedReader in = null; try { URL rea 阅读全文

posted @ 2020-12-13 14:28 UnmatchedSelf 阅读(861) 评论(0) 推荐(0) 编辑

将图片转换为Base64编码,解析base64格式从新生成图片

摘要: /** * 将图片转换成Base64编码 * @param imgFile 待处理图片 /Applications/开发常用文件/mmexport1555768366578.jpg * @return */ public static String getImgStr(String imgFile) 阅读全文

posted @ 2020-12-13 14:00 UnmatchedSelf 阅读(1007) 评论(2) 推荐(0) 编辑

导航