12345678910111213141516171819202122232425262728293031323334 |
- //
- // 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<FLNetworkDelegate>)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
|