主要是通过生成一个随机数字,然后进行toString(32)判断 Math.floor(Math.random() * Math.pow(2, 24)).toString(32) 如果发现重复,循环重新获取