提交
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
NSTimeInterval timeInterval = [[NSDate date] timeIntervalSince1970];
|
||||
// 将秒转换为毫秒
|
||||
long long milliseconds = (long long)(timeInterval);
|
||||
needTime = self.end_time - milliseconds;
|
||||
needTime = self.start_time - milliseconds;
|
||||
return needTime;
|
||||
}
|
||||
|
||||
@@ -21,3 +21,20 @@
|
||||
return [self remainingTime] <= 0;
|
||||
}
|
||||
@end
|
||||
|
||||
|
||||
@implementation QXDrawRedPacketModel
|
||||
+(NSDictionary<NSString *,id> *)modelContainerPropertyGenericClass{
|
||||
return @{
|
||||
@"redpacket_info": @"QXRedPacketModel",
|
||||
@"my_record": @"QXDrawRedpacketRecordModel",
|
||||
@"records": @"QXDrawRedpacketRecordModel",
|
||||
};
|
||||
}
|
||||
@end
|
||||
|
||||
@implementation QXDrawRedpacketRecordModel
|
||||
|
||||
@end
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user