caipin 3 years ago
parent
commit
457251290a
1 changed files with 1 additions and 0 deletions
  1. 1 0
      datasource/dbhelper.go

+ 1 - 0
datasource/dbhelper.go

@@ -41,6 +41,7 @@ func NewDbMaster() *xorm.Engine {
 	configFilePrefix := "config"
 	configFileName := fmt.Sprintf("%s-pro.yaml", configFilePrefix)
 
+	fmt.Println(debug)
 	if debug == "qa" {
 		fmt.Println("读取QA配置文件成功")
 		configFileName = fmt.Sprintf("%s-debug.yaml", configFilePrefix)