使用UUID防止文件重名

 

在原文件名的基础上加

UUID.randomUUID().toString()
posted @ 2019-12-27 12:43  chy_18883701161  阅读(580)  评论(0编辑  收藏  举报