//
//  NetworkRequest.h
//  KKCivilAd
//
//  Created by 雷俊博 on 2019/11/18.
//  Copyright © 2019 雷俊博. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <AFNetworking.h>

NS_ASSUME_NONNULL_BEGIN

@interface NetworkRequest : NSObject

@property (nonatomic) BOOL success;

//电子社保卡post请求加header
+ (void)PostEssResult:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

//团油post请求加签名
+ (void)PostGasStation:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
//post请求加签名
+ (void)PostFomart:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
//post请求加签名
+ (void)PostNomal:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
//get请求加签名
+ (void)Get:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
//post请求不加签名
+ (void)PostNo:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;


//社保认证post
+ (void)SBAuthPost:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

//新闻post
+ (void)NewsPost:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
+ (void)Post:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
+ (void)Post2:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;


//优抚认证
+ (void)Post3:(NSString *)urlString Params:(NSDictionary *)params Token:(NSString *)token Success:( void (^)(id responseObject))success Failure:(void (^)(NSError *error))failure;



+ (void)Post4:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
+ (void)Post5:(NSString *)urlString Params:(NSDictionary *)params Token:(NSString *)token Success:( void (^)(id responseObject))success Failure:(void (^)(NSError *error))failure;
+ (void)Post6:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
+ (void)Post66:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;
//补贴认证
+ (void)Post7:(NSString *)urlString Params:(NSDictionary *)params Token:(NSString *)token Success:( void (^)(id responseObject))success Failure:(void (^)(NSError *error))failure;

+ (void)Post8:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

+ (void)Post9:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

+ (void)Post10:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

+ (void)Post11:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

+ (void)Post12:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

+(void)POST13:(NSString *)url params:(NSDictionary *)params completionHandler:(void (^)(id responseObject, NSError *error))complete;

+ (void)Post14:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

+ (void)Post15:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

//统计
+ (void)statisticsWithEventName:(NSString *)eventName;

+(void)getAppInfo;

+(void)appLogin:(int)loginType;
+(void)appOpen:(NSString *)adTag adSuccess:(int) adSuccess openTime:(long)openTime;
//get请求
+ (void)baseGet:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

+ (void)Get2:(NSString *)urlString Params:(NSDictionary *)params Token:(NSString *)token Success:( void (^)(id responseObject))success Failure:(void (^)(NSError *error))failure;
+ (void)Get3:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(NSError *error))failure;
+ (void)Get4:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(NSError *error))failure;

//优抚认证
+ (void)Get5:(NSString *)urlString Params:(NSDictionary *)params Token:(NSString *)token Success:( void (^)(id responseObject))success Failure:(void (^)(NSError *error))failure;
//补贴认证
+ (void)Get6:(NSString *)urlString Params:(NSDictionary *)params Token:(NSString *)token Success:( void (^)(id responseObject))success Failure:(void (^)(NSError *error))failure;
//补贴登记
+ (void)Get7:(NSString *)urlString Params:(NSDictionary *)params Success:( void (^)(id))success Failure:(void (^)(id))failure;

//上传单图
+ (void)uploadImage:(NSString *)urlString Params:(NSDictionary *)params Image:(NSData *)imageData ImageName:(NSString *)imageName ImageParam:(NSString *)imagePara Success:( void (^)(id))success Failure:(void (^)(id))failure;

//上传多图
+ (void)uploadMoreImage:(NSString *)urlString Params:(NSDictionary *)params ImageArray:(NSArray *)imageArray ImageParam:(NSString *)imagePara Success:(void (^)(id _Nonnull))success Failure:(void (^)(id _Nonnull))failure;




@end

NS_ASSUME_NONNULL_END
