123456789101112131415161718192021 |
- //
- // KBHttp.h
- // YouHuiProject
- //
- // Created by 小花 on 2018/1/16.
- // Copyright © 2018年 kuxuan. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @interface KBHttp : NSObject
- + (void)post:(NSString *)url params:(NSDictionary *)params success:(void(^)(id json))success failure:(void(^)(NSError *error))failure;
- /**
- *普通get请求
- */
- + (void)get:(NSString *)url params:(NSDictionary *)params success:(void(^)(id json))success failure:(void(^)(NSError *error))failure;
- @end
|