|
@@ -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)
|