Commit 417a12c8774dc520088ae37f4c4d9ecb283359f3

Authored by yanglingyu
1 parent 5204c626

删除多余方法

CNLiveCMineModule/Classes/inte/ViewModel/CNLiveCMineInteViewModel.m
@@ -196,8 +196,6 @@ @@ -196,8 +196,6 @@
196 NSMutableArray * tempArray = listModel.integralList.mutableCopy; 196 NSMutableArray * tempArray = listModel.integralList.mutableCopy;
197 if (completerBlock) completerBlock(listModel,tempArray,error); 197 if (completerBlock) completerBlock(listModel,tempArray,error);
198 }]; 198 }];
199 - [CNLiveNetworking setAllowRequestDefaultArgument:YES];  
200 - [CNLiveNetworking setupShowDataResult:YES];  
201 [CNLiveNetworking requestNetworkWithMethod:CNLiveRequestMethodGET URLString:cn_API_Host(@"/Daren/integral/getTasks.action") Param:param CacheType:CNLiveNetworkCacheTypeNetworkOnly CompletionBlock:^(NSURLSessionTask *requestTask, id responseObject, NSError *error) { 199 [CNLiveNetworking requestNetworkWithMethod:CNLiveRequestMethodGET URLString:cn_API_Host(@"/Daren/integral/getTasks.action") Param:param CacheType:CNLiveNetworkCacheTypeNetworkOnly CompletionBlock:^(NSURLSessionTask *requestTask, id responseObject, NSError *error) {
202 if (!error) { 200 if (!error) {
203 CNLiveCMineInteTaskListModel * listModel = [CNLiveCMineInteTaskListModel mj_objectWithKeyValues:responseObject]; 201 CNLiveCMineInteTaskListModel * listModel = [CNLiveCMineInteTaskListModel mj_objectWithKeyValues:responseObject];