feat:优化项目信息
This commit is contained in:
@ -17,7 +17,6 @@ import (
|
||||
"fmt"
|
||||
"github.com/spf13/cobra"
|
||||
"net/http"
|
||||
"strings"
|
||||
)
|
||||
|
||||
var (
|
||||
@ -43,7 +42,6 @@ func run() {
|
||||
// 载入配置信息
|
||||
utils.LoadConfig(configFile, config.SettingInfo, func(i interface{}) {
|
||||
obj := i.(*config.Setting)
|
||||
obj.Upload.Exts = strings.Split(obj.Upload.Ext, ",")
|
||||
logger.NewLogger().Init(&logger.Option{File: obj.Log.File, LeastDay: obj.Log.LeastDay, Level: obj.Log.Level, IsStdout: false}).Load()
|
||||
})
|
||||
// 载入数据引擎配置
|
||||
|
Reference in New Issue
Block a user