// // HTTPDataProcession.h // Unity-iPhone // // Created by duowan123 on 2021/2/2. // #import typedef void(^SuccessBlock)(id data); typedef void(^FailBlock)(id errorDes); @interface HTTPDataProcession : NSObject + (void)getHTTPDataProcession:(NSString*)urlString token:(NSString*)token success:(SuccessBlock)successBlock fail:(FailBlock)failBlock; + (void)uploadHTTPDataWithUrlString:(NSString *)urlString withParams:(NSDictionary *)params token:(NSString*)token success:(SuccessBlock)successBlock fail:(FailBlock)failBlock; @end