BuWanVideo2.0/XYRDetailViewController.m
@@ -177,6 +177,17 @@ } - (void)loadFullscreenVideoAd { NSDictionary *dictionary = [[NSUserDefaults standardUserDefaults] objectForKey:@"buUserInfo"]; NSDate *datenow = [NSDate date]; // 现在时间 NSInteger timeSp = [datenow timeIntervalSince1970]*1000; if(dictionary) { if ([dictionary[@"vipExpireTime"] integerValue] > timeSp) { return; } } self.fullscreenVideoAd = [[BUNativeExpressFullscreenVideoAd alloc] initWithSlotID:@"945472378"]; self.fullscreenVideoAd.delegate = self; [self.fullscreenVideoAd loadAdData];