《省钱达人》与《猎豆优选》UI相同版。域名tbk

DRCacheHttp.h 532B

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