使用UUID防止文件重名

 

在原文件名的基础上加

UUID.randomUUID().toString()
posted @ 2019-12-27 12:43  chy-x  阅读(620)  评论(0)    收藏  举报