Commit 17f354e19371d7e4ccb9c8487acc91a85e7c743f
1 parent
148fc57b
0.1.1
Showing
2 changed files
with
5 additions
and
4 deletions
CNLivePayCostModule.podspec
CNLivePayCostModule/Classes/Core/CNLivePayCostNetwork.m
| ... | ... | @@ -555,9 +555,10 @@ static NSString *const CNLiveWillBecomeActivePaycostForSHShopNotification = @"CN |
| 555 | 555 | arg.attach = attach != nil ? attach : @{@"plat":@"i"}; |
| 556 | 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 | 562 | [QMUITips hideAllToastInView:AppKeyWindow animated:YES]; |
| 562 | 563 | //支付结果回调Block |
| 563 | 564 | if (cnlivePayResult.explain == CNLive_CODE_SUCCESS) | ... | ... |