TYApiMergeService Class Reference

Inherits from TuyaSmartRequest : NSObject
Declared in TYApiMergeService.h

  requestList

@property (nonatomic, strong) NSMutableArray *requestList

– addApiRequest:postData:version:

add api request

- (void)addApiRequest:(NSString *)apiName postData:(NSDictionary *)postData version:(NSString *)version

Parameters

apiName

api name

postData

post data

version

version

Discussion

add api request

Declared In

TYApiMergeService.h

– sendRequest:success:failure:

send request

- (void)sendRequest:(NSDictionary *)getData success:(nullable void ( ^ ) ( NSArray<TYApiMergeModel*> *list ))success failure:(nullable TYFailureError)failure

Parameters

getData

get data

success

Success block

failure

Failure block

Discussion

send request

Declared In

TYApiMergeService.h