Merge remote-tracking branch 'origin/superGroup' into superGroup

This commit is contained in:
Gordon
2022-06-24 19:04:39 +08:00
24 changed files with 836 additions and 386 deletions
+3
View File
@@ -1,6 +1,7 @@
package config
import (
"fmt"
"io/ioutil"
"os"
"path/filepath"
@@ -496,6 +497,8 @@ type PDefaultTips struct {
func init() {
cfgName := os.Getenv("CONFIG_NAME")
fmt.Println(Root, cfgName)
if len(cfgName) == 0 {
cfgName = Root + "/config/config.yaml"
}