From c5024d497ff859d8548a643951541f2c4aa7dfbd Mon Sep 17 00:00:00 2001
From: hch <305670599@qq.com>
Date: 星期二, 12 五月 2026 14:23:56 +0800
Subject: [PATCH] 0312 硬核没有渠道标识的不展示广告
---
Main/System/BoneField/AdsManager.cs | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/Main/System/BoneField/AdsManager.cs b/Main/System/BoneField/AdsManager.cs
index 439d04a..be61e85 100644
--- a/Main/System/BoneField/AdsManager.cs
+++ b/Main/System/BoneField/AdsManager.cs
@@ -104,7 +104,8 @@
!InvestModel.Instance.IsInvested(InvestModel.foreverCardType))
{
//鏈夊箍鍛婄殑SDK
- if (VersionConfig.Get().appId == "ryzj" && !GeneralDefine.noAdsChannels.Contains(SDKUtils.channelSign))
+ if (VersionConfig.Get().appId == "ryzj" && !string.IsNullOrEmpty(SDKUtils.channelSign) &&
+ !GeneralDefine.noAdsChannels.Contains(SDKUtils.channelSign))
{
//瑙嗛鍔犺浇澶辫触闇�瑕佺瓑10绉掑悗鍐嶈皟鐢�
//濂栧姳闇�瑕佽缃爣璇嗗搴斿彂鏀�
--
Gitblit v1.8.0