mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-05-28 09:17:27 +00:00
优化内核, QQ邮箱微信账户分享,添加123请求header
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package cn.qaiu.util;
|
||||
|
||||
import java.security.SecureRandom;
|
||||
import java.util.UUID;
|
||||
|
||||
public class RandomStringGenerator {
|
||||
private static final String CHARACTERS = "abcdefghijklmnopqrstuvwxyz0123456789";
|
||||
@@ -19,4 +20,10 @@ public class RandomStringGenerator {
|
||||
|
||||
return sb.toString();
|
||||
}
|
||||
|
||||
public static String gen36String() {
|
||||
String uuid = UUID.randomUUID().toString().toLowerCase();
|
||||
// 移除短横线
|
||||
return uuid.replace("-", "");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user