This commit is contained in:
oneao committed 2026-02-25 22:20:16 +08:00
1 parent d04d22723b
commit 4ce951dd56
30 files changed
+982 -74

No files matched your search

@@ -0,0 +1,9 @@
package config
import "allapp/utils/uniqueid"
// 初始化雪花id
func initUniqueId() {
options := uniqueid.NewIdGeneratorOptions(conf.UniqueID.WorkerID)
uniqueid.SetIdGenerator(options)
}