重庆迈尖科技有限公司
2021-08-13 5d5b8e7baea4926689082b8a4eae7e994210fa29
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];