Commit 17f354e19371d7e4ccb9c8487acc91a85e7c743f

Authored by liushiyu
1 parent 148fc57b

0.1.1

CNLivePayCostModule.podspec
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 8
9 Pod::Spec.new do |s| 9 Pod::Spec.new do |s|
10 s.name = 'CNLivePayCostModule' 10 s.name = 'CNLivePayCostModule'
11 - s.version = '0.1.0' 11 + s.version = '0.1.1'
12 s.summary = 'A short description of CNLivePayCostModule.' 12 s.summary = 'A short description of CNLivePayCostModule.'
13 13
14 # This description is used to generate tags and improve search results. 14 # This description is used to generate tags and improve search results.
CNLivePayCostModule/Classes/Core/CNLivePayCostNetwork.m
@@ -555,9 +555,10 @@ static NSString *const CNLiveWillBecomeActivePaycostForSHShopNotification = @"CN @@ -555,9 +555,10 @@ static NSString *const CNLiveWillBecomeActivePaycostForSHShopNotification = @"CN
555 arg.attach = attach != nil ? attach : @{@"plat":@"i"}; 555 arg.attach = attach != nil ? attach : @{@"plat":@"i"};
556 arg.body = desc; 556 arg.body = desc;
557 557
558 - UITabBarController * vc = (UITabBarController *)AppKeyWindow.rootViewController;  
559 - UINavigationController * cVC = vc.selectedViewController;  
560 - [[CNLivePaySDK sharedCNLivePayManager] pay:arg appScheme:netAddUrlSchems viewController:formVC == nil ? cVC.topViewController : formVC completion:^(CNLivePayResult *cnlivePayResult) { 558 +// UITabBarController * vc = (UITabBarController *)AppKeyWindow.rootViewController;
  559 +// UINavigationController * cVC = vc.selectedViewController;
  560 + //formVC == nil ? cVC.topViewController : formVC
  561 + [[CNLivePaySDK sharedCNLivePayManager] pay:arg appScheme:netAddUrlSchems viewController:nil completion:^(CNLivePayResult *cnlivePayResult) {
561 [QMUITips hideAllToastInView:AppKeyWindow animated:YES]; 562 [QMUITips hideAllToastInView:AppKeyWindow animated:YES];
562 //支付结果回调Block 563 //支付结果回调Block
563 if (cnlivePayResult.explain == CNLive_CODE_SUCCESS) 564 if (cnlivePayResult.explain == CNLive_CODE_SUCCESS)