fix: sqlite数据问题时间类型问题修复等

This commit is contained in:
meilin.huang
2024-01-18 17:18:17 +08:00
parent 63f0615445
commit 7c53353c60
18 changed files with 1099 additions and 100 deletions

View File

@@ -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
}