摘要: 废话不多说直接上代码 public static String getBase64(String ossUrl) { InputStream in = null; final ByteArrayOutputStream data = new ByteArrayOutputStream(); //读取 阅读全文
posted @ 2023-12-19 14:53 丿狂奔的蜗牛 阅读(177) 评论(0) 推荐(0) 编辑
摘要: public static String sendJson(String url, String json) { String returnValue = "调用接口失败"; CloseableHttpClient httpClient = HttpClients.createDefault(); 阅读全文
posted @ 2023-12-19 14:51 丿狂奔的蜗牛 阅读(168) 评论(0) 推荐(0) 编辑