修复token唯一性验证

This commit is contained in:
hanhh
2021-06-30 12:16:05 +08:00
parent b1bee910b2
commit e7aff6d1d6
4 changed files with 7 additions and 6 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ export function getLastModifyFilePath(dir: string) {
return filePath;
}
export function createPassword(min: number, max: number): string {
export function createRandomString(min: number, max: number): string {
const num = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
const english = [
'a',