123456789101112131415161718192021222324252627282930313233343536 |
- //
- // XYGiftAPIManager.h
- // Timi
- //
- // Created by 翟玉磊 on 2021/11/16.
- //
- #import "ZYLAPIManager.h"
- NS_ASSUME_NONNULL_BEGIN
- @interface XYGiftAPIManager : ZYLAPIManager
- /// (动态)打赏礼物列表
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)getWishListSuccessHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// 赠送(动态)打赏礼物
- /// @param feedId 动态id
- /// @param giftId 礼物 id
- /// @param quantity 赠送礼物数量
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)sendRewardGiftWithFeedId:(NSString *)feedId giftId:(NSString *)giftId quantity:(NSInteger)quantity SuccessHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- /// (动态)打赏礼物记录列表
- /// @param feedId 动态id
- /// @param pageIndex 页数
- /// @param pageSize 每页数量
- /// @param successHandler 请求成功
- /// @param failureHandler 请求失败
- - (NSNumber *)getRewardGiftHisListWithFeedId:(NSString *)feedId pageIndex:(NSInteger)pageIndex pageSize:(NSInteger)pageSize successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
- @end
- NS_ASSUME_NONNULL_END
|