This commit is contained in:
邹宗楠
2024-10-16 09:17:05 +08:00
parent a6e6222075
commit 32cde499da
28 changed files with 271 additions and 167 deletions

View File

@@ -181,9 +181,9 @@ func IsCallbackAlwaysReturnSuccess() bool {
}
func IsMainProductEnv() bool {
return web.BConfig.RunMode == "prod"
return web.BConfig.RunMode == "prod" // model.ServerTypeVegetable
}
func IsProductEnv() bool {
return IsMainProductEnv() || web.BConfig.RunMode == "jxgy"
return IsMainProductEnv() || web.BConfig.RunMode == "jxgy" || web.BConfig.RunMode == "jxpet"
}