1.0.19 feat:Vip 权限显示调整
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user