Commit 80f84d4e by houweibin

SearchFeedback返回的product没有availableValue属性

parent b582b8b7
...@@ -216,10 +216,10 @@ static NSString *idStr = @"KWMBrandCaramelCell"; ...@@ -216,10 +216,10 @@ static NSString *idStr = @"KWMBrandCaramelCell";
[weakSelf.dataList removeAllObjects]; [weakSelf.dataList removeAllObjects];
} }
NSArray *products = [result.productList rx_filterWithBlock:^BOOL(BUYProduct *each) { // NSArray *products = [result.productList rx_filterWithBlock:^BOOL(BUYProduct *each) {
return each.availableValue; // return each.availableValue;
}]; // }];
[weakSelf appendDataList:products setPage:tagetPage]; [weakSelf appendDataList:result.productList setPage:tagetPage];
_vSearchFB.lbGoodsNum.text = [NSString stringWithFormat:@"%lu商品",(unsigned long)total]; _vSearchFB.lbGoodsNum.text = [NSString stringWithFormat:@"%lu商品",(unsigned long)total];
[self.tbvSearch reloadData]; [self.tbvSearch reloadData];
......
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