Initial 智念AIGC platform

This commit is contained in:
inman committed 2026-05-29 10:26:02 +08:00
commit f9c3393f84
86 files changed
+14741

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
import { randomBytes } from "node:crypto";
export function createId(prefix: string): string {
return `${prefix}_${Date.now().toString(36)}_${randomBytes(5).toString("hex")}`;
}