Forráskód Böngészése

同步专辑状态取值接口

Steven 1 éve
szülő
commit
def0db334d

+ 2 - 2
KulexiuForStudent/KulexiuForStudent/InstitutionModule/Home/Controller/TenantDarkViewController.m

@@ -295,7 +295,7 @@
 }
 
 - (__kindof UICollectionViewCell *)pagerView:(TYCyclePagerView *)pagerView cellForItemAtIndex:(NSInteger)index {
-    BOOL isLock = self.mineInfo.tenantAlbumStatus == 1 ? YES : NO;
+    BOOL isLock = self.tenantAlbumStatus == 1 ? YES : NO;
     TenantHomeSubjectListCell *cell = [pagerView dequeueReusableCellWithReuseIdentifier:@"TenantHomeSubjectListCell" forIndex:index];
     [cell configWithJsonSting:self.animationNameArray[index] isLock:isLock];
     if (pagerView.curIndex == index) {
@@ -321,7 +321,7 @@
 }
 
 - (void)pagerView:(TYCyclePagerView *)pageView didSelectedItemCell:(__kindof UICollectionViewCell *)cell atIndex:(NSInteger)index {
-    BOOL isLock = self.mineInfo.tenantAlbumStatus == 1 ? YES : NO;
+    BOOL isLock = self.tenantAlbumStatus == 1 ? YES : NO;
     if (isLock) {
         TenantAlbumModel *model = self.sourceArray[index];
         NSString *subjectType = model.subjectType;