https://www.baeldung.com/java-base64-image-string 国内的前10条结果都是抄的一个,一模一样。。。真是醉了。。。 google一下,得到了上面的结果,用了common-io,很简洁,清流一股