浏览代码

vip 去除 模拟考试,专项练习的 广告。 https://jsjp-admin.zzxcx.net 改为线上域名

openlockPPP 1 年之前
父节点
当前提交
c45cd35868

二进制
jiaPei.xcworkspace/xcuserdata/mimasigeling.xcuserdatad/UserInterfaceState.xcuserstate


+ 1 - 1
jiaPei/ENUM.h

@@ -15,7 +15,7 @@
 //学员端请求
 #define defaultHttp isOfficial?  @"http://fj.jppt.com.cn/" : @"http://192.168.8.87:8080/xm"
 #define anotherDefaultHttp isOfficial?  @"https://zzjs.zzxcx.net" : @"http://192.168.8.87:8080"
-#define coachDefaultHttp isOfficial?  @"https://jsjp-admin1.zzxcx.net" : @"https://jsjp-admin1.zzxcx.net"
+#define coachDefaultHttp isOfficial?  @"https://jsjp-admin.zzxcx.net" : @"https://jsjp-admin1.zzxcx.net"
 
 //基础请求
 #define defaultHttpUrl isOfficial? @"appservice/student/" : @"appservice2/student/"

+ 6 - 1
jiaPei/Modules/HomePageModule/ViewController/HomeSubPage/专项练习/RQSpecialPractiseViewController.m

@@ -35,7 +35,12 @@
     /// set up ...
     self.collectionView.bounces = NO;
     self.collectionView.backgroundColor = UIColor.clearColor;
-    [RQ_AD_MANAGER loadAdWithAdType:RQADType_InterstitialSplash customView:nil];
+    if(RQ_YDTQuestion_Module.subject == RQHomePageSubjectType_SubjectOne && !RQ_VIP_Module.isSubject1Vip){
+        [RQ_AD_MANAGER loadAdWithAdType:RQADType_InterstitialSplash customView:nil];//广告
+    }
+    if(RQ_YDTQuestion_Module.subject == RQHomePageSubjectType_SubjectFour && !RQ_VIP_Module.isSubject4Vip){
+        [RQ_AD_MANAGER loadAdWithAdType:RQADType_InterstitialSplash customView:nil];//广告
+    }
 }
 
 

+ 6 - 1
jiaPei/Modules/OtherModules/ExerciseModule/Controller/RQSimulateExamViewController.m

@@ -41,7 +41,12 @@
     self.navigationAnimator.statusbarStyleBlock = ^UIStatusBarStyle(QMUINavigationBarScrollingAnimator * _Nonnull animator, float progress) {
         return progress < .25 ? UIStatusBarStyleDefault : UIStatusBarStyleLightContent;
     };
-    [RQ_AD_MANAGER loadAdWithAdType:RQADType_InterstitialSplash customView:nil];
+    if(RQ_YDTQuestion_Module.subject == RQHomePageSubjectType_SubjectOne && !RQ_VIP_Module.isSubject1Vip){
+        [RQ_AD_MANAGER loadAdWithAdType:RQADType_InterstitialSplash customView:nil];//广告
+    }
+    if(RQ_YDTQuestion_Module.subject == RQHomePageSubjectType_SubjectFour && !RQ_VIP_Module.isSubject4Vip){
+        [RQ_AD_MANAGER loadAdWithAdType:RQADType_InterstitialSplash customView:nil];//广告
+    }
 }
 
 - (UIStatusBarStyle)preferredStatusBarStyle {