Ei kuvausta

LFWHttp.h 500B

123456789101112131415161718192021
  1. //
  2. // LFWHttp.h
  3. // YouHuiProject
  4. //
  5. // Created by 小花 on 2018/1/16.
  6. // Copyright © 2018年 kuxuan. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface LFWHttp : NSObject
  10. + (void)post:(NSString *)url params:(NSDictionary *)params success:(void(^)(id json))success failure:(void(^)(NSError *error))failure;
  11. /**
  12. *普通get请求
  13. */
  14. + (void)get:(NSString *)url params:(NSDictionary *)params success:(void(^)(id json))success failure:(void(^)(NSError *error))failure;
  15. @end