上线提交
This commit is contained in:
@@ -174,18 +174,35 @@
|
||||
MJWeakSelf
|
||||
_collectionView.mj_header = [MJRefreshNormalHeader headerWithRefreshingBlock:^{
|
||||
weakSelf.page = 1;
|
||||
weakSelf.page++;
|
||||
BOOL isIn = NO;
|
||||
if (weakSelf.type == 2) {
|
||||
isIn = YES;
|
||||
}else if(weakSelf.type == 3){
|
||||
isIn = NO;
|
||||
}
|
||||
if (weakSelf.type == 0) {
|
||||
[weakSelf getBagList];
|
||||
}else if (weakSelf.type == 1){
|
||||
[weakSelf getHotCardList];
|
||||
}else{
|
||||
[weakSelf getGiftRecordListIsIncome:self.type == 1];
|
||||
[weakSelf getGiftRecordListIsIncome:isIn];
|
||||
}
|
||||
}];
|
||||
_collectionView.mj_footer = [MJRefreshBackNormalFooter footerWithRefreshingBlock:^{
|
||||
weakSelf.page++;
|
||||
BOOL isIn = NO;
|
||||
if (weakSelf.type == 2) {
|
||||
isIn = YES;
|
||||
}else if(weakSelf.type == 3){
|
||||
isIn = NO;
|
||||
}
|
||||
if (weakSelf.type == 0) {
|
||||
[weakSelf getBagList];
|
||||
}else if (weakSelf.type == 1){
|
||||
[weakSelf getHotCardList];
|
||||
}else{
|
||||
[weakSelf getGiftRecordListIsIncome:self.type == 1];
|
||||
[weakSelf getGiftRecordListIsIncome:isIn];
|
||||
}
|
||||
}];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user