1.0.19 feat:Vip 权限显示调整

This commit is contained in:
eggmanQQQ
2024-10-30 14:09:05 +08:00
parent cd93cc1024
commit 9e9e5fa0e8

View File

@@ -634,7 +634,12 @@ UICollectionViewDataSource>
__block NSMutableArray *tempArray = @[].mutableCopy;
[self.vipIdentificationInfoArray enumerateObjectsUsingBlock:^(NobleAuthInfo * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) {
switch (currentVIPLevel) {
case 1:
case 1: {
if (obj.authType == 1 || obj.authType == 2) {
[tempArray addObject:obj];
}
}
break;
case 2:{
if (obj.authType == 1 || obj.authType == 2 || obj.authType == 5) {
[tempArray addObject:obj];
@@ -647,7 +652,16 @@ UICollectionViewDataSource>
}
}
break;
case 4:
case 4:{
if (obj.authType == 1 ||
obj.authType == 2 ||
obj.authType == 5 ||
obj.authType == 8 ||
obj.authType == 11) {
[tempArray addObject:obj];
}
}
break;
case 5:
case 6:
case 7: