Nenhuma Descrição

FKRefundDetailRequest.m 1.0KB

12345678910111213141516171819202122232425262728293031
  1. //
  2. // FKRefundDetailRequest.m
  3. // FirstLink
  4. //
  5. // Created by ascii on 16/3/15.
  6. // Copyright © 2016年 FirstLink. All rights reserved.
  7. //
  8. #import "FKRefundDetailRequest.h"
  9. @implementation FKRefundDetailRequest
  10. + (void)requestRefundDetail:(int)identify
  11. paymentID:(NSString *)paymentID
  12. delegate:(id<FLNetworkDelegate>)delegate {
  13. if (paymentID.length == 0) {
  14. return;
  15. }
  16. NSString *itemJsonString = [FLRequestHelper JSONStringWithKeys:@[@"post_order_id"] values:@[paymentID]];
  17. NSMutableDictionary *para = [NSMutableDictionary dictionaryWithDictionary:[FLRequestHelper commonParamater]];
  18. [para setValue:itemJsonString forKey:@"refund_json"];
  19. NSString *URLString = [NSString stringWithFormat:@"%@/link-site/api/refund/find_refunds.json", [[FKServerUtil sharedInstance] apiServer]];
  20. [[FLDataCenter sharedDataCenter] POST:URLString
  21. para:para
  22. identify:identify
  23. delegate:delegate];
  24. }
  25. @end