MacBuilder
2018-09-26 289cf06c44b9686d0422d3556e9bf5af7b694c19
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
//
//  MRHttpResquest.h
//  MaoerProject
//
//  Created by eliolu on 2018/8/15.
//  Copyright © 2018年 eliolu. All rights reserved.
//
 
#import <Foundation/Foundation.h>
#import "CSAFNetworking.h"
 
@interface MRHttpResquest : NSObject
 
/**
 *  @brief  HttpRequest
 *  @param url            url
 *  @param postDict    参数字典
 *  @param apiName  接口名称
 *  @param response        block
 */
+(void)RequestWithURL:(NSString *)url
             POSTbody:(NSMutableDictionary *)postDict
              APIName:(NSString *)apiName
             response:(void(^)(NSError * error,NSDictionary * resultDict))response;
 
+(void)PostWithURL:(NSString *)url
          POSTbody:(NSMutableDictionary *)postDict
           APIName:(NSString *)apiName
          response:(void(^)(NSError * error,NSDictionary * resultDict))response;
 
+(NSString *)getSDKVersion;
+(NSString*)getIdfa;
+(NSString*) buildParams:(NSDictionary*)paramsMap :(BOOL)addSign;
@end