12345678910111213141516171819 |
- //
- // DRCacheHttp.h
- // YouHuiProject
- //
- // Created by 小花 on 2018/5/10.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @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
|