python 使用uuid 出现重复

同时保存入数据库时候 ,使用 uuid.uuid1() 后出现 重复的 id ,

现在 修改为

(uuid.uuid5(uuid.NAMESPACE_DNS, str(uuid.uuid1()) + str(random.random())))