forked from free-lancers/electricity_bill_calc_service
enhance(config):配置雪花ID生成算法增加主机编号配置。
This commit is contained in:
@@ -33,6 +33,7 @@ type ServiceSetting struct {
|
||||
MaxSessionLife time.Duration
|
||||
ItemsPageSize int
|
||||
CacheLifeTime time.Duration
|
||||
HostSerial int64
|
||||
}
|
||||
|
||||
// 定义全局变量
|
||||
|
Reference in New Issue
Block a user