代充优化
This commit is contained in:
@@ -112,6 +112,7 @@
|
||||
[[self getView] onGetPersonalBannerListFailWithGroup:group];
|
||||
} errorToast:NO] uid:uid type:@"10"];
|
||||
}
|
||||
|
||||
///获取小游戏列表
|
||||
- (void)getLittleGameListWithGroup:(dispatch_group_t) group {
|
||||
NSString * uid = [[AccountInfoStorage instance] getUid];
|
||||
@@ -137,4 +138,5 @@
|
||||
[StatisticsServiceHelper trackEventWithKey:StatisticsServiceEventusercenter_quick_entry_click eventAttributes:@{@"mgId" : mgId}];
|
||||
}] uid:uid mgId:mgId];
|
||||
}
|
||||
|
||||
@end
|
||||
|
@@ -30,6 +30,8 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
/// 批量验证内购掉单
|
||||
/// @param transcations 凭据的数组
|
||||
- (void)checkTranscationIds:(NSArray *)transcations;
|
||||
//充值banner位
|
||||
-(void)getBannerList;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
@@ -52,7 +52,7 @@
|
||||
NSString *orderId = (NSString *)data.data[@"recordId"];
|
||||
[[self getView] requestIAPRechargeOrderSuccess:orderId chargeProdId:chargeProdId];
|
||||
} fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||
[[self getView] requestIAPRechargeOrderFail];
|
||||
[[self getView] requestIAPRechargeOrderFailWithCode:code];
|
||||
}] chargeProdId:chargeProdId uid:uid ticket:ticket deviceInfo:deviceInfo clientIp:clientIp];
|
||||
}
|
||||
|
||||
@@ -80,5 +80,14 @@
|
||||
[[self getView] checkTranscationIdsSuccess];
|
||||
}] transcationIdStr:transcationIdStr];
|
||||
}
|
||||
|
||||
//充值banner位
|
||||
-(void)getBannerList{
|
||||
[Api requestBannerListCompletion:[self createHttpCompletion:^(BaseModel * _Nonnull data) {
|
||||
|
||||
NSArray * array = [RechargeListModel modelsWithArray:data.data[@"banners"]];
|
||||
[[self getView]getBannerListSuccessWithList:array];
|
||||
} fail:^(NSInteger code, NSString * _Nullable msg) {
|
||||
|
||||
} showLoading:NO errorToast:NO]];
|
||||
}
|
||||
@end
|
||||
|
Reference in New Issue
Block a user