rht
This commit is contained in:
parent
240f122edb
commit
bb91a86bb8
|
@ -68,8 +68,8 @@ export class ShareCodeService extends BaseService<Prisma.ShareCodeDelegate> {
|
|||
private readonly logger = new Logger(ShareCodeService.name);
|
||||
// 生成8位分享码,使用易读的字符
|
||||
private readonly generateCode = customAlphabet(
|
||||
'23456789ABCDEFGHJKLMNPQRSTUVWXYZ',
|
||||
8,
|
||||
'0123456789ABCDEFGHJKLMNPQRSTUVWXYZ',
|
||||
5,
|
||||
);
|
||||
|
||||
constructor(private readonly resourceService: ResourceService) {
|
||||
|
|
Loading…
Reference in New Issue