Commit 1efb021a authored by lmj_521aiau@163.com's avatar lmj_521aiau@163.com

no message

parent 5f0aa8e4
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
#import "superCleaner-Swift.h" #import "superCleaner-Swift.h"
#import "ICWebViewController.h" #import "ICWebViewController.h"
#import "ICIPAProductModel.h" #import "ICIPAProductModel.h"
#import "Data.h"
@interface ICIAPViewController () @interface ICIAPViewController ()
...@@ -49,6 +50,12 @@ ...@@ -49,6 +50,12 @@
[self.yearContentView addGestureRecognizer: yearTap]; [self.yearContentView addGestureRecognizer: yearTap];
self.weakPriceLabel.text = @"3天免费试用,之后"; self.weakPriceLabel.text = @"3天免费试用,之后";
Data * data = [[Data alloc] init];
NSDictionary * dic = [[data Read] objectForKey:@"config"];
if (dic) {
self.weakPriceLabel.text = [dic objectForKey:@"pay_3day_txt"];
}
self.products = [NSMutableArray array]; self.products = [NSMutableArray array];
[self getIpaList]; [self getIpaList];
......
...@@ -117,7 +117,7 @@ ...@@ -117,7 +117,7 @@
_collectionView.collectionViewLayout = layout; _collectionView.collectionViewLayout = layout;
_collectionView.delegate = self; _collectionView.delegate = self;
_collectionView.dataSource = self; _collectionView.dataSource = self;
_collectionView.showsVerticalScrollIndicator = NO;
// [_collectionView registerNib:[UINib nibWithNibName:@"ZJChooseIconCell" bundle:nil] forCellWithReuseIdentifier:@"cell"]; // [_collectionView registerNib:[UINib nibWithNibName:@"ZJChooseIconCell" bundle:nil] forCellWithReuseIdentifier:@"cell"];
[_collectionView registerNib:[UINib nibWithNibName:@"SCHomeHeaderView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"SCHomeHeaderView"]; [_collectionView registerNib:[UINib nibWithNibName:@"SCHomeHeaderView" bundle:nil] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"SCHomeHeaderView"];
} }
......
...@@ -167,7 +167,11 @@ static ICUserManager * manager; ...@@ -167,7 +167,11 @@ static ICUserManager * manager;
} else { } else {
[data removeDicForKey:@"urlInfo"]; [data removeDicForKey:@"urlInfo"];
} }
if ([[[response objectForKey:@"result"] objectForKey:@"data"] objectForKey:@"config"]) {
[data WirteDic:[[[response objectForKey:@"result"] objectForKey:@"data"] objectForKey:@"config"] Key:@"config"];
} else {
[data removeDicForKey:@"config"];
}
} }
} failure:^(NSError * _Nonnull error) { } failure:^(NSError * _Nonnull error) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment