12345678910111213141516171819202122232425262728 |
- //
- // FKExchangeCouponRequest.m
- // FirstLink
- //
- // Created by ascii on 16/4/8.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import "FKExchangeCouponRequest.h"
- @implementation FKExchangeCouponRequest
- + (void)requestExchange:(int)identify
- code:(NSString*)code
- deleagate:(id<FLNetworkDelegate>)delegate {
- if (code.length == 0) { return; }
-
- NSString *URLString = [NSString stringWithFormat:@"%@/link-site/api/cash_coupon/exchange.json?code=%@"
- , [[FKServerUtil sharedInstance] apiServer]
- , code];
- [[FLDataCenter sharedDataCenter] POST:URLString
- para:[FLRequestHelper commonParamater]
- identify:identify
- delegate:delegate];
- }
- @end
|