//
//  ZJBaseHttpManager.h
//  HDMall
//
//  Created by Javen on 2017/7/27.
//  Copyright © 2017年 上海勾芒信息科技. All rights reserved.
//

#import <Foundation/Foundation.h>
@class ZJBaseFileModel;
#define ZJHttpManager [ZJBaseHttpManager shareCilent]
@interface ZJBaseHttpManager : NSObject
@property (assign, nonatomic) BOOL debugLogEnabled;

+ (ZJBaseHttpManager *)shareCilent;

- (void)POST:(NSString *)URLString
  parameters:(id)parameters
    complete:(void (^)(id responseObject, NSError *error))complete;

- (void)GET:(NSString *)URLString
 parameters:(id)parameters
   complete:(void (^)(id responseObject, NSError *error))complete;

- (void)PUT:(NSString *)URLString
 parameters:(id)parameters
   complete:(void (^)(id responseObject, NSError *error))complete;

- (void)DELETE:(NSString *)URLString
    parameters:(id)parameters
      complete:(void (^)(id responseObject, NSError *error))complete;
/** 上传文件 */
- (void)upLoadFiles:(NSArray<ZJBaseFileModel *> *)files
              params:(NSDictionary *)params
           commplete:(void (^__nullable)(NSMutableArray *attachments))complete;
@end
