12345678910111213141516171819202122232425262728293031 |
- //
- // FKRefundDetailRequest.m
- // FirstLink
- //
- // Created by ascii on 16/3/15.
- // Copyright © 2016年 FirstLink. All rights reserved.
- //
- #import "FKRefundDetailRequest.h"
- @implementation FKRefundDetailRequest
- + (void)requestRefundDetail:(int)identify
- paymentID:(NSString *)paymentID
- delegate:(id<FLNetworkDelegate>)delegate {
- if (paymentID.length == 0) {
- return;
- }
- NSString *itemJsonString = [FLRequestHelper JSONStringWithKeys:@[@"post_order_id"] values:@[paymentID]];
- NSMutableDictionary *para = [NSMutableDictionary dictionaryWithDictionary:[FLRequestHelper commonParamater]];
- [para setValue:itemJsonString forKey:@"refund_json"];
-
- NSString *URLString = [NSString stringWithFormat:@"%@/link-site/api/refund/find_refunds.json", [[FKServerUtil sharedInstance] apiServer]];
- [[FLDataCenter sharedDataCenter] POST:URLString
- para:para
- identify:identify
- delegate:delegate];
- }
- @end
|