代充优化
This commit is contained in:
@@ -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