12345678910111213141516171819202122232425262728 |
- //
- // FKRecoNewsRequest.m
- // FirstLink
- //
- // Created by ascii on 2017/6/25.
- // Copyright © 2017年 FirstLink. All rights reserved.
- //
- #import "FKRecoNewsRequest.h"
- @implementation FKRecoNewsRequest
- + (void)requestRecoNewsWithIdentify:(NSInteger)identify
- startRow:(NSUInteger)startRow
- delegate:(id<FLNetworkDelegate>)delegate {
- NSString *itemJson = [FLRequestHelper JSONStringWithKeys:@[@"type", @"start_row", @"page_size"]
- values:@[@(2), @(startRow), @(PAGE_RECORD_COUNT)]];
-
- NSMutableDictionary *dictM = [NSMutableDictionary dictionary];
- [dictM setValue:itemJson forKey:@"activity_share_json"];
- [dictM addEntriesFromDictionary:[FLRequestHelper commonParamater]];
-
- NSString *urlString = [NSString stringWithFormat:@"%@/link-site/api/activity_share/find_activity_shares.json", [[FKServerUtil sharedInstance] apiServer]];
- [[FLDataCenter sharedDataCenter] POST:urlString para:dictM identify:(int)identify delegate:delegate];
- }
- @end
|