fix(settings):改进一个配置中的类型定义,方便在其他函数中使用。
This commit is contained in:
parent
8294e1f546
commit
cba0968e18
@ -31,7 +31,7 @@ type RedisSetting struct {
|
|||||||
|
|
||||||
type ServiceSetting struct {
|
type ServiceSetting struct {
|
||||||
MaxSessionLife time.Duration
|
MaxSessionLife time.Duration
|
||||||
ItemsPageSize uint16
|
ItemsPageSize int
|
||||||
CacheLifeTime time.Duration
|
CacheLifeTime time.Duration
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user