refactor: dbms与标签管理优化

This commit is contained in:
meilin.huang
2024-03-21 17:15:52 +08:00
parent b13d27ccd6
commit b2cfd1517c
43 changed files with 536 additions and 564 deletions

View File

@@ -4,7 +4,8 @@ import (
sysapp "mayfly-go/internal/sys/application"
"mayfly-go/pkg/logx"
"mayfly-go/pkg/utils/bytex"
"mayfly-go/pkg/utils/conv"
"github.com/may-fly/cast"
)
const (
@@ -41,6 +42,6 @@ func GetMachine() *Machine {
}
}
mc.UploadMaxFileSize = uploadMaxFileSize
mc.TermOpSaveDays = conv.Str2Int(jm["termOpSaveDays"], 30)
mc.TermOpSaveDays = cast.ToIntD(jm["termOpSaveDays"], 30)
return mc
}