caipin 4 年之前
父节点
当前提交
bdcb07bfc1
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      datasource/dbhelper.go

+ 1 - 0
datasource/dbhelper.go

@@ -44,6 +44,7 @@ func NewDbMaster() *xorm.Engine {
 	debug := GetEnvInfo("Debug")
 	configFilePrefix := "config"
 	configFileName := fmt.Sprintf("%s-pro.yaml", configFilePrefix)
+	fmt.Println(debug)
 	if debug {
 		configFileName = fmt.Sprintf("%s-debug.yaml", configFilePrefix)
 	}