al
liurenjie
2021-07-24 4be386d6c552eed17d7e8b2271c81ac65e02cebf
al
11个文件已修改
328 ■■■■■ 已修改文件
BuWanVideo2.0.xcodeproj/project.pbxproj 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcworkspace/xcuserdata/aeline.xcuserdatad/UserInterfaceState.xcuserstate 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcworkspace/xcuserdata/aeline.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist 202 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/BuyVipController.m 5 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/OnlySpecialController.m 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/PPTVController.m 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/SettingController.m 39 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHNetInterface.h 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHNetInterface.m 19 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHNetdata.h 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0/YTHNetdata.m 25 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
BuWanVideo2.0.xcodeproj/project.pbxproj
@@ -3229,7 +3229,7 @@
                CODE_SIGN_IDENTITY = "iPhone Developer";
                "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
                CODE_SIGN_STYLE = Automatic;
                CURRENT_PROJECT_VERSION = 83;
                CURRENT_PROJECT_VERSION = 84;
                DEVELOPMENT_TEAM = 98HSDT7AP4;
                ENABLE_BITCODE = NO;
                FRAMEWORK_SEARCH_PATHS = (
@@ -3291,7 +3291,7 @@
                    "$(PROJECT_DIR)/BuWanVideo2.0/DKADSet_iOS_SDK_1.2.0_iphoneOS",
                    "$(PROJECT_DIR)/BuWanVideo2.0/GDT_iOS_SDK",
                );
                MARKETING_VERSION = 3.1.3;
                MARKETING_VERSION = 3.1.8;
                ONLY_ACTIVE_ARCH = YES;
                OTHER_LDFLAGS = (
                    "$(inherited)",
@@ -3381,7 +3381,7 @@
                CODE_SIGN_IDENTITY = "iPhone Developer";
                "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
                CODE_SIGN_STYLE = Automatic;
                CURRENT_PROJECT_VERSION = 83;
                CURRENT_PROJECT_VERSION = 84;
                DEVELOPMENT_TEAM = 98HSDT7AP4;
                ENABLE_BITCODE = NO;
                FRAMEWORK_SEARCH_PATHS = (
@@ -3443,7 +3443,7 @@
                    "$(PROJECT_DIR)/BuWanVideo2.0/DKADSet_iOS_SDK_1.2.0_iphoneOS",
                    "$(PROJECT_DIR)/BuWanVideo2.0/GDT_iOS_SDK",
                );
                MARKETING_VERSION = 3.1.3;
                MARKETING_VERSION = 3.1.8;
                ONLY_ACTIVE_ARCH = NO;
                OTHER_LDFLAGS = (
                    "$(inherited)",
BuWanVideo2.0.xcworkspace/xcuserdata/aeline.xcuserdatad/UserInterfaceState.xcuserstate
Binary files differ
BuWanVideo2.0.xcworkspace/xcuserdata/aeline.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
@@ -5,207 +5,19 @@
   version = "2.0">
   <Breakpoints>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.ExceptionBreakpoint">
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "E0721607-A1CD-4161-BF7D-BDDDCF78C807"
            uuid = "4FDB6570-9BF4-4B73-BD73-DA65D2E09288"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            breakpointStackSelectionBehavior = "1"
            scope = "1"
            stopOnStyle = "0">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "8CD41EE0-A87D-46AF-91E6-35F08F86F964"
            shouldBeEnabled = "No"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/SettingController.m"
            filePath = "BuWanVideo2.0/Recommend/lib/OC_CWCarousel/CWCarouselProtocol.h"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "93"
            endingLineNumber = "93"
            landmarkName = "-OutOfLogin"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "9F1698DB-31A5-4760-A420-C735464637FC"
            shouldBeEnabled = "No"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/SettingController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "164"
            endingLineNumber = "164"
            landmarkName = "-tableView:cellForRowAtIndexPath:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "5942D78B-04D0-4191-B5AE-14E8F4868344"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/LoggingViewController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "480"
            endingLineNumber = "480"
            landmarkName = "-getInfoFromInternet"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "E2A443EE-3CFA-4650-8939-6D44916F9711"
            shouldBeEnabled = "No"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/SettingController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "98"
            endingLineNumber = "98"
            landmarkName = "-touchesBegan:withEvent:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "2A566C2D-E3EB-41C6-9B5B-DA8939E27E42"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/SettingController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "202"
            endingLineNumber = "202"
            landmarkName = "-tableView:didSelectRowAtIndexPath:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "4301DB48-CB5E-4B54-954F-BA1EFE6C0AC5"
            shouldBeEnabled = "No"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/SettingController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "228"
            endingLineNumber = "228"
            landmarkName = "-tableView:didSelectRowAtIndexPath:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "CAFD4D93-A797-4E9A-A170-8A69EAFC30E5"
            shouldBeEnabled = "No"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/JSAPI.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "15"
            endingLineNumber = "15"
            landmarkName = "-login:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "A22DADAB-F0B8-4C0F-B693-30456136020D"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/PPTVController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "185"
            endingLineNumber = "185"
            landmarkName = "-copyUrl"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "FCEEE420-BBC0-47D4-9B5A-1D4A946B1F89"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/BuyVipController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "191"
            endingLineNumber = "191"
            landmarkName = "-paymentQueue:updatedTransactions:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "309D9951-0098-41FB-B0A3-B05A967477F2"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/BuyVipController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "186"
            endingLineNumber = "186"
            landmarkName = "-paymentQueue:updatedTransactions:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "64101954-D018-4C2B-9D19-930894615416"
            shouldBeEnabled = "Yes"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/BuyVipController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "195"
            endingLineNumber = "195"
            landmarkName = "-paymentQueue:updatedTransactions:"
            landmarkType = "7">
         </BreakpointContent>
      </BreakpointProxy>
      <BreakpointProxy
         BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
         <BreakpointContent
            uuid = "2E834C33-7E26-450F-91B0-C13FC6F55B50"
            shouldBeEnabled = "No"
            ignoreCount = "0"
            continueAfterRunningActions = "No"
            filePath = "BuWanVideo2.0/BuyVipController.m"
            startingColumnNumber = "9223372036854775807"
            endingColumnNumber = "9223372036854775807"
            startingLineNumber = "94"
            endingLineNumber = "94"
            landmarkName = "-touchSubscribeVip"
            landmarkType = "7">
            startingLineNumber = "12"
            endingLineNumber = "12"
            landmarkName = "unknown"
            landmarkType = "0">
         </BreakpointContent>
      </BreakpointProxy>
   </Breakpoints>
BuWanVideo2.0/BuyVipController.m
@@ -20,6 +20,7 @@
@property (nonatomic, nullable, strong) DWKWebView *webView;
@property (nonatomic, copy) NSString *code;
@property (nonatomic, copy) NSString *orderNo;
@property (nonatomic, assign) BOOL isBuying;
@@ -81,6 +82,7 @@
- (void)onBuyVip:(NSNotification *)notice {
    self.completionHandler = notice.userInfo[@"data"];
    self.code = notice.userInfo[@"code"][@"code"];
    self.orderNo = notice.userInfo[@"code"][@"orderNo"];
    [self touchSubscribeVip];
}
@@ -154,9 +156,8 @@
        }
    }
    //发送购买请求
    NSDictionary *dictionary = [[NSUserDefaults standardUserDefaults] objectForKey:@"buUserInfo"];
    SKMutablePayment *payment = [SKMutablePayment paymentWithProduct:requestProduct];
    payment.applicationUsername = dictionary[@"id"];// 可以是userId,也可以是订单id,跟你自己需要而定
    payment.applicationUsername = _orderNo;
    [[SKPaymentQueue defaultQueue] addPayment:payment];
}
BuWanVideo2.0/OnlySpecialController.m
@@ -40,7 +40,8 @@
-(void)initScene{
    self.navigationItem.title = @"专题合集";
    
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};;
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};;
    self.navigationController.navigationBar.barTintColor = [UIColor whiteColor];
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
BuWanVideo2.0/PPTVController.m
@@ -86,7 +86,9 @@
}
- (void)refrshData {
   @ weakify(self)
    [[YTHNetInterface startInterface] getLoginUserInfoWithUid:[YTHsharedManger startManger].Uid WithSystem:@"1" WithLoginUid:[[NSUserDefaults standardUserDefaults] objectForKey:@"LoginUid"] withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        @strongify(self)
        if (isSuccessful) {
            //首先判断数据是否获成功
            NSString *err = [NSString stringWithFormat:@"%@",[result objectForKey:@"Error"]];
@@ -94,12 +96,12 @@
                [[NSUserDefaults standardUserDefaults] setObject:[result objectForKey:@"Data"] forKey:@"buUserInfo"];
                [[NSUserDefaults standardUserDefaults] synchronize];
                
                [_webView removeFromSuperview];
                _webView.DSUIDelegate = nil;
                _webView.navigationDelegate = nil;
                _webView = nil;
                [self.webView removeFromSuperview];
                self.webView.DSUIDelegate = nil;
                self.webView.navigationDelegate = nil;
                self.webView = nil;
                [self.view addSubview:self.webView];
                [self loadWebView:_content];
                [self loadWebView:self.content];
            }
        }
    }
@@ -231,6 +233,17 @@
- (void)webView:(WKWebView *)webView didCommitNavigation:(WKNavigation *)navigation {
    [self jsAdds];
    [self performSelector:@selector(afterDelay) withObject:nil afterDelay:0.5];
    NSString *vid = [self getParamByName:@"vid" URLString:_content];
    NSString *cid = [self getParamByName:@"cid" URLString:_content];
    [[YTHNetInterface startInterface] fetchPPTVVideoPlayStateWith:[YTHsharedManger startManger].Uid WithSystem:@"1" WithLoginUid:[[NSUserDefaults standardUserDefaults] objectForKey:@"LoginUid"] url:_content vid:vid cid:cid withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            if (result[@"Data"][@"title"]) {
                self.viewPPTVNav.name = result[@"Data"][@"title"];
            }
        }
    }];
}
- (void)webView:(WKWebView *)webView decidePolicyForNavigationAction:(WKNavigationAction *)navigationAction decisionHandler:(void(^)(WKNavigationActionPolicy))decisionHandler {
BuWanVideo2.0/SettingController.m
@@ -38,7 +38,7 @@
-(void)loadData{
    self.navigationItem.title = @"设置";
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor whiteColor]};
    self.navigationController.navigationBar.titleTextAttributes = @{NSFontAttributeName:[UIFont systemFontOfSize:18],NSForegroundColorAttributeName:[UIColor blackColor]};
    
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    [button setImage:[[UIImage imageNamed:@"详情页面返回"] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal] forState:UIControlStateNormal];
@@ -47,10 +47,10 @@
    UIBarButtonItem *iconBarItem=[[UIBarButtonItem alloc] initWithCustomView:button];
    self.navigationItem.leftBarButtonItem = iconBarItem;
    
    _dataAry  = [[NSMutableArray alloc] initWithObjects:@[@"清空图片缓存"],@[@"手机存储"],@[@"常见问题",@"关于我们",@"免责声明"], nil];
    _dataAry = [[NSMutableArray alloc] initWithObjects:@[@"清空图片缓存"],@[@"手机存储"],@[@"常见问题",@"关于我们",@"免责声明",@"恢复购买"], nil];
    
    if(!_mytableview){
       _mytableview = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, KScreenW, KScreenH) style:UITableViewStyleGrouped];
        _mytableview = [[UITableView alloc]initWithFrame:CGRectMake(0, 0, KScreenW, KScreenH) style:UITableViewStyleGrouped];
        _mytableview.delegate = self;
        _mytableview.dataSource = self;
        [self.view addSubview:_mytableview];
@@ -183,17 +183,17 @@
                NSString *str = [NSString stringWithFormat:@"确认清空%.2fM图片缓存!",[self filePath]];
                UIAlertController *alertController = [UIAlertController alertControllerWithTitle:@"温馨提示" message:str preferredStyle:UIAlertControllerStyleAlert];
                
                    UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
                        NSLog(@"点击取消");
                    }];
                UIAlertAction *cancelAction = [UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:^(UIAlertAction *action) {
                    NSLog(@"点击取消");
                }];
                
                    UIAlertAction *otherAction = [UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {
                        [self deleteFile];
                    }];
                UIAlertAction *otherAction = [UIAlertAction actionWithTitle:@"确定" style:UIAlertActionStyleDefault handler:^(UIAlertAction *action) {
                    [self deleteFile];
                }];
                
                    [alertController addAction:cancelAction];
                    [alertController addAction:otherAction];
                    [self presentViewController:alertController animated:YES completion:nil];
                [alertController addAction:cancelAction];
                [alertController addAction:otherAction];
                [self presentViewController:alertController animated:YES completion:nil];
            }
                break;
        }
@@ -214,9 +214,16 @@
            }
                break;
            case 2:{//免责声明
               settingWebViewController.webTitle=@"免责声明";
                settingWebViewController.webTitle=@"免责声明";
                settingWebViewController.requestURL=mianzeshengming;
                [self.navigationController pushViewController:settingWebViewController animated:YES];
            }
                break;
            case 3:{
                [UIApplication sharedApplication].keyWindow.userInteractionEnabled = NO;
                [SVProgressHUD show];
                [self performSelector:@selector(popTips) withObject:self afterDelay:2];
            }
                break;
            default:
@@ -229,6 +236,12 @@
    }
}
- (void)popTips {
    [SVProgressHUD dismiss];
    [UIApplication sharedApplication].keyWindow.userInteractionEnabled = YES;
    [self autoDisappearAlertTime:1 msg:@"没有找到可恢复购买项"];
}
#pragma mark 删除沙盒里的文件
-(void)deleteFile{
    NSString * cachPath = [ NSSearchPathForDirectoriesInDomains ( NSCachesDirectory , NSUserDomainMask , YES ) firstObject ];
BuWanVideo2.0/YTHNetInterface.h
@@ -591,4 +591,6 @@
                      vid:(NSString *)vid
                      cid:(NSString *)cid
                withBlock:(YthNetWorkBlock)block;
- (void)fetchPPTVVideoPlayStateWith:(NSString *)uid WithSystem:(NSString *)system WithLoginUid:(NSString *)loginUid url:(NSString *)url vid:(NSString *)vid cid:(NSString *)cid withBlock:(YthNetWorkBlock)block;
@end
BuWanVideo2.0/YTHNetInterface.m
@@ -276,6 +276,10 @@
    [self mangerPostWithURL:url WithMutableDictionary:dic withBlock:block];
}
- (void)pptvVideoPlayStateDataWith:(NSMutableDictionary *)dic withBlock:(YthNetWorkBlock)block{
    NSString *url = [NSString stringWithFormat:@"%@/video/play/getPPTVVideoPlayState",domainHTTP];
    [self mangerPostWithURL:url WithMutableDictionary:dic withBlock:block];
}
/**
 *  分割=========================================================================================================================================================
 */
@@ -1553,4 +1557,19 @@
    }];
}
- (void)fetchPPTVVideoPlayStateWith:(NSString *)uid WithSystem:(NSString *)system WithLoginUid:(NSString *)loginUid url:(NSString *)url vid:(NSString *)vid cid:(NSString *)cid withBlock:(YthNetWorkBlock)block {
    NSMutableDictionary *dic =  [YTHNetdata pptvVideoPlayStateWithUid:uid withSystem:system WithLoginUid:loginUid vid:vid cid:cid];
    [self pptvVideoPlayStateDataWith:dic withBlock:^(BOOL isSuccessful, id result, NSString *error) {
        if (isSuccessful) {
            NSDictionary *data = (NSDictionary *)result;
            block(TRUE , data , nil);
        } else {
            block(FALSE , nil , error);
        }
    }];
}
@end
BuWanVideo2.0/YTHNetdata.h
@@ -621,4 +621,6 @@
+ (NSMutableDictionary *)hotSearch:(NSString *)uid withSystem:(NSString *)system;
+ (NSMutableDictionary *)pptvVIPVideoActivityWithUid:(NSString *)uid withSystem:(NSString *)system WithLoginUid:(NSString *)loginUid url:(NSString *)url vid:(NSString *)vid cid:(NSString *)cid;
+ (NSMutableDictionary *)pptvVideoPlayStateWithUid:(NSString *)uid withSystem:(NSString *)system WithLoginUid:(NSString *)loginUid vid:(NSString *)vid cid:(NSString *)cid;
@end
BuWanVideo2.0/YTHNetdata.m
@@ -753,6 +753,31 @@
    return dic;
}
+ (NSMutableDictionary *)pptvVideoPlayStateWithUid:(NSString *)uid withSystem:(NSString *)system WithLoginUid:(NSString *)loginUid vid:(NSString *)vid cid:(NSString *)cid {
    NSMutableDictionary *dic = [[NSMutableDictionary alloc] initWithCapacity:0];
    [dic setObject:@"getHomeClass" forKey:@"Method"];
    [dic setObject:@"ios" forKey:@"Platform"];
    NSString *sign;
    if (uid!=nil) {
        [dic setObject:uid forKey:@"Uid"];
        sign = [NSString stringWithFormat:@"%@%@%@",@"getHomeClass",uid,system];
    }else{
        sign = [NSString stringWithFormat:@"%@%@%@",@"getHomeClass",[[UIDevice currentDevice].identifierForVendor UUIDString],system];
    }
    [dic setObject:vid forKey:@"vid"];
    [dic setObject:cid forKey:@"cid"];
    [dic setObject:Version forKey:@"Version"];
    [dic setObject:Package forKey:@"Package"];
    [dic setObject:system forKey:@"System"];
    [dic setObject:loginUid forKey:@"loginUid"];
    [dic setObject:[NSString md5:sign] forKey:@"Sign"];
    [dic setObject:[[UIDevice currentDevice].identifierForVendor UUIDString] forKey:@"Device"];
    NSLog(@"%@",dic);
    return dic;
}
#pragma mark 精彩频道视频
+(NSMutableDictionary *)ClassVideoWithUid:(NSString *)uid withVideoType:(NSString *)videotype withSystem:(NSString *)system withPage:(NSString *)page{