// // FKCashCouponRequest.m // FirstLink // // Created by ascii on 15/9/8. // Copyright (c) 2015年 FirstLink. All rights reserved. // #import "FKCashCouponRequest.h" @implementation FKCashCouponRequest + (void)requestItems:(int)identify startRow:(NSString *)startRow pageSize:(NSString *)pageSize deleagate:(id)delegate { NSArray *keys = @[@"start_row", @"page_size"]; NSArray *values = @[startRow, pageSize]; NSString *itemJSONString = [FLRequestHelper JSONStringWithKeys:keys values:values]; NSMutableDictionary *para = [NSMutableDictionary dictionary]; [para setValue:itemJSONString forKey:@"cash_coupon_json"]; [para addEntriesFromDictionary:[FLRequestHelper commonParamater]]; NSString *URLString = [NSString stringWithFormat:@"%@/link-site/api/cash_coupon/find_cash_coupons_new.json", [[FKServerUtil sharedInstance] apiServer]]; [[FLDataCenter sharedDataCenter] POST:URLString para:para identify:identify delegate:delegate]; } @end