- (void)PostBlockAsyncAction{
NSURL *url = [NSURL URLWithString:ZQPOSTURL];
NSMutableURLRequest *request = [[NSMutableURLRequest alloc] initWithURL:url];
[request setHTTPMethod:@"POST"];
NSData *data = [ZQPOSTBODY dataUsingEncoding:NSUTF8StringEncoding];
[request setHTTPBody:data];
[NSURLConnection sendAsynchronousRequest:request queue:[NSOperationQueue mainQueue] completionHandler:^(NSURLResponse * _Nullable response, NSData * _Nullable data, NSError * _Nullable connectionError) {
NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:nil];
NSArray *arr = dic[@"news"];
self.data = [NSMutableArray array];
for (NSDictionary *dic in arr) {
News *news = [[News alloc] init];
[news setValuesForKeysWithDictionary:dic];
[self.data addObject:news];
}
}];
}