|
@@ -44,7 +44,7 @@
|
|
|
|
|
|
-(void)getHomeListData:(btnClickBlock)success {
|
|
-(void)getHomeListData:(btnClickBlock)success {
|
|
__weak typeof(self) weakSelf = self;
|
|
__weak typeof(self) weakSelf = self;
|
|
- [ASNetTools.shared getMsgWithPath:HomeList param:@{@"currency_code":ASCurrencyManager.shared.currentCur} success:^(id _Nonnull json) {
|
|
|
|
|
|
+ [ASNetTools.shared getMsgWithPath:HomeList param:@{} success:^(id _Nonnull json) {
|
|
NSLog(@"------url:%@---json:%@------", HomeList, json);
|
|
NSLog(@"------url:%@---json:%@------", HomeList, json);
|
|
NSMutableArray *arr = [ASHomeMainListModel mj_objectArrayWithKeyValuesArray:json];
|
|
NSMutableArray *arr = [ASHomeMainListModel mj_objectArrayWithKeyValuesArray:json];
|
|
weakSelf.listData = arr;
|
|
weakSelf.listData = arr;
|