// // DRCacheHttp.h // YouHuiProject // // Created by 小花 on 2018/5/10. // Copyright © 2018年 kuxuan. All rights reserved. // #import @interface DRCacheHttp : NSObject + (void)post:(NSString *)url params:(NSDictionary *)params success:(void(^)(id json,BOOL isCache))success failure:(void(^)(NSError *error))failure; /** *普通get请求 */ + (void)get:(NSString *)url params:(NSDictionary *)params success:(void(^)(id json,BOOL isCache))success failure:(void(^)(NSError *error))failure; @end