记得上下班打卡 | git大法好,push需谨慎

Commit 500f3cec authored by 胡佳晨's avatar 胡佳晨

增加日志

parent c3cf0606
......@@ -147,7 +147,7 @@ public class AlOssController {
@RequestParam(defaultValue = "0", required = false) String picUrl
) {
OSS ossClient = new OSSClientBuilder().build(endpoint, accessKeyId, accessKeySecret);
File fileNew = FilesUtils.inputStreamToFile("http://mmbiz.qpic.cn/mmbiz_jpg/Ek5ncx8aHajn48x4aaqcNaIS5p7EJsMJaD7OtXdh8pFqY1GPuPSaMiaNSCL3YJHnOfERmOVy54zOKkjs5vtxjww/0", System.currentTimeMillis() + ".png");
File fileNew = FilesUtils.inputStreamToFile(picUrl, System.currentTimeMillis() + ".png");
// file md5
String fileMD5 = FilesUtils.getFileMD5(fileNew);
......
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