This commit is contained in:
suyl
2021-06-16 10:06:58 +08:00
parent 443fb80d6b
commit 20098751ee
2 changed files with 17 additions and 15 deletions

View File

@@ -145,5 +145,5 @@ func IsMainProductEnv() bool {
}
func IsProductEnv() bool {
return IsMainProductEnv()
return beego.BConfig.RunMode == "print"
}