覆盖羽声

This commit is contained in:
启星
2025-10-20 09:43:10 +08:00
parent affed1af58
commit 0d82f9e0ef
1331 changed files with 43209 additions and 14707 deletions

View File

@@ -0,0 +1,40 @@
//
// QXRedPacketModel.m
// QXLive
//
// Created by on 2025/10/11.
//
#import "QXRedPacketModel.h"
@implementation QXRedPacketModel
- (long)remainingTime {
long needTime = 0;
NSTimeInterval timeInterval = [[NSDate date] timeIntervalSince1970];
//
long long milliseconds = (long long)(timeInterval);
needTime = self.start_time - milliseconds;
return needTime;
}
- (BOOL)canOpenNow {
return [self remainingTime] <= 0;
}
@end
@implementation QXDrawRedPacketModel
+(NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
return @{
@"redpacket_info": @"QXRedPacketModel",
@"my_record": @"QXDrawRedpacketRecordModel",
@"records": @"QXDrawRedpacketRecordModel",
};
}
@end
@implementation QXDrawRedpacketRecordModel
@end