mirror of
https://gitee.com/dromara/mayfly-go
synced 2026-03-08 11:05:38 +08:00
fix: sqlite数据问题时间类型问题修复等
This commit is contained in:
@@ -4,7 +4,7 @@ import (
|
||||
sysapp "mayfly-go/internal/sys/application"
|
||||
"mayfly-go/pkg/logx"
|
||||
"mayfly-go/pkg/utils/bytex"
|
||||
"mayfly-go/pkg/utils/stringx"
|
||||
"mayfly-go/pkg/utils/conv"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -41,6 +41,6 @@ func GetMachine() *Machine {
|
||||
}
|
||||
}
|
||||
mc.UploadMaxFileSize = uploadMaxFileSize
|
||||
mc.TermOpSaveDays = stringx.ConvInt(jm["termOpSaveDays"], 30)
|
||||
mc.TermOpSaveDays = conv.Str2Int(jm["termOpSaveDays"], 30)
|
||||
return mc
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user