caipin 3 년 전
부모
커밋
457251290a
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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)