企业包支付方式修改

This commit is contained in:
liyuhua
2023-11-01 11:22:14 +08:00
parent 8d9e96517e
commit 185ca5fbd6
3 changed files with 9 additions and 8 deletions

View File

@@ -18,6 +18,7 @@
#import "XPIAPRechargeViewController.h"
#import "XCCurrentVCStackManager.h"
#import "ClientConfig.h"
#import "XPWebViewController.h"
@interface PIRoomSendRedPacketItemVC ()<PIRedPacketChooseTypeViewDelegate,XPRoomRedPacketPwdViewDelegate>
///host
@@ -254,8 +255,9 @@
config.message = YMLocalizedString(@"XPTreasureFairyViewController5");
config.confirmButtonConfig.title = YMLocalizedString(@"XPTreasureFairyViewController6");
[TTPopup alertWithConfig:config confirmHandler:^{
XPIAPRechargeViewController * rechargeVC = [[XPIAPRechargeViewController alloc] init];
rechargeVC.type = @"4";
XPWebViewController * rechargeVC =[[XPWebViewController alloc] initWithCustomizeNav:NO];
NSString *url = [NSString stringWithFormat:URLWithType(kThirdPartyPay),@"4",[YYUtility deviceID]];
rechargeVC.url = url;
[[XCCurrentVCStackManager shareManager].getCurrentVC.navigationController pushViewController:rechargeVC animated:YES];
} cancelHandler:^{

View File

@@ -17,6 +17,7 @@
#import "XPIAPRechargeViewController.h"
#import "XCCurrentVCStackManager.h"
#import "XPRoomHalfWebView.h"
#import "XPWebViewController.h"
@interface PIRoomSendRedPacketVC ()<JXPagerViewDelegate,JXPagerMainTableViewGestureDelegate,JXCategoryViewDelegate,JXPagerMainTableViewGestureDelegate>
///host
@property (nonatomic,weak) id<RoomHostDelegate>hostDelegate;
@@ -219,8 +220,9 @@
[self dismissViewControllerAnimated:YES completion:nil];
}
-(void)getDiamondAction{
XPIAPRechargeViewController * rechargeVC = [[XPIAPRechargeViewController alloc] init];
rechargeVC.type = @"4";
XPWebViewController * rechargeVC =[[XPWebViewController alloc] initWithCustomizeNav:NO];
NSString *url = [NSString stringWithFormat:URLWithType(kThirdPartyPay),@"4",[YYUtility deviceID]];
rechargeVC.url = url;
[[XCCurrentVCStackManager shareManager].getCurrentVC.navigationController pushViewController:rechargeVC animated:YES];
}

View File

@@ -2134,10 +2134,7 @@ NSString * const kHadQuitOtherRoomKey = @"kHadQuitOtherRoomKey";//是否退出
-(void)rechargeHandle{
XPWebViewController * vc =[[XPWebViewController alloc] initWithCustomizeNav:YES];
NSString *channel = @"p";
channel = [NSString stringWithFormat:@"%@a",channel];
channel = [NSString stringWithFormat:@"%@y",channel];
NSString *url = [NSString stringWithFormat:URLWithType(kChannelUrl),channel,@"6",[YYUtility deviceID]];
NSString *url = [NSString stringWithFormat:URLWithType(kThirdPartyPay),@"6",[YYUtility deviceID]];
vc.url = url;
vc.isPush = YES;
vc.modalPresentationStyle = UIModalPresentationFullScreen;