XYLotteryGameAPIManager.h 1.4 KB

1234567891011121314151617181920212223242526272829303132
  1. //
  2. // XYLotteryGameAPIManager.h
  3. // Timi
  4. //
  5. // Created by gy on 2021/11/26.
  6. //
  7. #import "ZYLAPIManager.h"
  8. NS_ASSUME_NONNULL_BEGIN
  9. @interface XYLotteryGameAPIManager : ZYLAPIManager
  10. /// 获取抽奖游戏详情 GET/api-app/v1/lotteryGame/getLotteryGameDetail
  11. /// snapId 是 快照id
  12. - (NSNumber *)getLotteryGameDetail:(NSDictionary *__nullable)paramDict successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
  13. /// 参与抽奖游戏 POST/api-app/v1/lotteryGame/joinLotteryGame
  14. /// snapId 文本 是 快照id
  15. - (NSNumber *)joinLotteryGame:(NSDictionary *__nullable)paramDict successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
  16. /// 查询抽奖游戏开奖结果-红包 GET/api-app/v1/lotteryGame/getResultByRedBag
  17. /// snapId 是 快照id
  18. - (NSNumber *)getResultByRedBag:(NSDictionary *__nullable)paramDict successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
  19. /// 获取正在进行中的抽奖活动 POST /v1/lotteryGame/getLotteryGameList
  20. /// null
  21. - (NSNumber *)getLotteryGameList:(NSDictionary *__nullable)paramDict successHandler:(ZYLNetworkTaskSuccessHandler)successHandler failureHandler:(ZYLNetworkTaskFailureHandler)failureHandler;
  22. @end
  23. NS_ASSUME_NONNULL_END