| | |
| | | [[EZHttpUtil sharedManager] getTempListByHDL:self.deviceId completion:^(ResponseData * _Nonnull responseData) { |
| | | HDLEZLog(@"临时密码列表:%@",responseData.data); |
| | | [weakSelf.header endRefreshing]; |
| | | weakSelf.visitorRecordV.temPList=[NSArray yy_modelArrayWithClass:[HDLEZTemInfoModel class] json:responseData.data]; |
| | | if (responseData.success) { |
| | | weakSelf.visitorRecordV.temPList=[NSArray yy_modelArrayWithClass:[HDLEZTemInfoModel class] json:responseData.data]; |
| | | // if (weakSelf.visitorRecordV.temPList.count==0) { |
| | | // |
| | | // } |
| | | }else{ |
| | | [weakSelf.view makeToast:responseData.message |
| | | duration:1.5 |
| | | position:@"center"]; |
| | | } |
| | | }]; |
| | | } |
| | | |