Files
yinmeng-ios/xplan-ios/Main/Room/View/SendRedPacket/Api/Api+RedPacket.h
2022-09-08 11:33:42 +08:00

33 lines
905 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// Api+RedPacket.h
// xplan-ios
//
// Created by GreenLand on 2022/8/31.
//
#import "Api.h"
NS_ASSUME_NONNULL_BEGIN
@interface Api (RedPacket)
/// 发送红包
/// @param completion 完成
/// @param num 红包数量
/// @param goldNum 钻石数量
/// @param roomUId 房间uid,不知道谁写接口参数的i要大写不然房间红包不生效无语
/// @param type 类型 1房间 2全服
/// @param password 密码
/// @param message 消息
+ (void)sendRedPacket:(HttpRequestHelperCompletion)completion num:(NSString *)num goldNum:(NSString *)goldNum roomUId:(NSString *)roomUId type:(NSNumber *)type password:(NSString *)password message:(NSString *)message;
/// 抢红包
/// @param completion 完成
/// @param redEnvelopeId 红包id
+ (void)openRedPacket:(HttpRequestHelperCompletion)completion redEnvelopeId:(NSString *)redEnvelopeId;
@end
NS_ASSUME_NONNULL_END