function GenNonDuplicateID(randomLength){
return Number(Math.random().toString().substr(3,randomLength) + Date.now()).toString(36)
}
将生成 rfmipbs8ag0kgkcogc 类似的ID
生成一个用不重复的ID
最新推荐文章于 2024-05-21 14:15:14 发布
function GenNonDuplicateID(randomLength){
return Number(Math.random().toString().substr(3,randomLength) + Date.now()).toString(36)
}
将生成 rfmipbs8ag0kgkcogc 类似的ID