1
0
mirror of synced 2026-04-18 22:38:41 +08:00

auto commit

This commit is contained in:
zhouzj
2021-03-25 00:41:06 +08:00
parent 60de761e14
commit 3a2013982f
5 changed files with 14 additions and 5 deletions

View File

@@ -6,7 +6,7 @@
pub struct IdGeneratorOptions {
/// 雪花计算方法,1-漂移算法|2-传统算法默认1
pub Method: u8,
/// 基础时间,不能超过当前系统时间
/// 基础时间ms单位,不能超过当前系统时间
pub BaseTime: i64,
/// 机器码,与 WorkerIdBitLength 有关系
pub WorkerId: u32,