This commit is contained in:
richboo111
2023-01-31 15:33:51 +08:00
parent 2b46f5965d
commit c530e4db5d
6 changed files with 25 additions and 23 deletions

View File

@@ -101,8 +101,8 @@ func Init() {
}
SugarLogger.Infof("globals RunMode=%s", web.BConfig.RunMode)
//ReallyCallPlatformAPI = (web.BConfig.RunMode != "dev" && web.BConfig.RunMode != "test")
ReallyCallPlatformAPI = true //本地测试用-ysq
ReallyCallPlatformAPI = (web.BConfig.RunMode != "dev" && web.BConfig.RunMode != "test")
//ReallyCallPlatformAPI = true //本地测试用-ysq
ReallySendWeixinMsg = ReallyCallPlatformAPI && IsProductEnv()
AliKey = web.AppConfig.DefaultString("aliKey", "")