mirror of
https://github.com/certd/certd.git
synced 2026-04-20 09:50:50 +08:00
perf: 支持短信验证码登录
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { customAlphabet } from 'nanoid';
|
||||
|
||||
export const randomNumber = customAlphabet('1234567890', 4);
|
||||
export const simpleNanoId = customAlphabet('1234567890abcdefghijklmopqrstuvwxyz', 12);
|
||||
|
||||
Reference in New Issue
Block a user