二卡八不显示离线,背包礼物一键全送增加提示
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
#import "QXPayTypeModel.h"
|
||||
#import "QXMineNetwork.h"
|
||||
#import "QXDynamicNetwork.h"
|
||||
#import "QXCustomAlertView.h"
|
||||
|
||||
|
||||
@interface QXSendGiftView()<JXCategoryViewDelegate,JXCategoryListContainerViewDelegate,QXMenuPopViewDelegate,UIGestureRecognizerDelegate>
|
||||
@@ -354,6 +355,19 @@
|
||||
showToast(@"一键全送仅能选择一个用户");
|
||||
return;
|
||||
}
|
||||
MJWeakSelf
|
||||
QXCustomAlertView *alertView = [[QXCustomAlertView alloc] init];
|
||||
alertView.cancelBlock = ^{
|
||||
|
||||
};
|
||||
alertView.commitBlock = ^{
|
||||
[weakSelf sendAllNetWork];
|
||||
};
|
||||
[alertView showInView:self.vc.view title:@"温馨提示" message:@"是否确认将背包礼物全部送出" cancleTitle:nil commitTitle:nil];
|
||||
|
||||
}
|
||||
// 一键清空网络请求
|
||||
-(void)sendAllNetWork{
|
||||
NSString *userId = [self.pitUserListView.selectedArray componentsJoinedByString:@","];
|
||||
MJWeakSelf
|
||||
[QXMineNetwork roomBagGiftClearWithRoomId:self.roomId userId:userId heartId:self.heartId auction_id:self.auctionId successBlock:^(NSDictionary * _Nonnull dict) {
|
||||
|
||||
Reference in New Issue
Block a user