This commit is contained in:
启星
2025-12-17 11:44:25 +08:00
parent 999bf3d804
commit ba4fd658a9
37 changed files with 450 additions and 82 deletions

View File

@@ -336,7 +336,17 @@
-(void)checkAndUpdateRedPackets{
if ([self.roomId isExist]) {
[QXMineNetwork appKeepAliveWithRoomId:self.roomId];
[QXMineNetwork appKeepAliveWithRoomId:self.roomId successBlock:^(NSDictionary * _Nonnull dict) {
NSString *string = [NSString stringWithFormat:@"%@",dict[@"not_received_tasks_num"]];
if ([string containsString:@"null"]) {
string = @"";
}
if (self.roomVC) {
self.roomVC.taskWaitDrawNum = string;
}
} failBlock:^(NSError * _Nonnull error, NSString * _Nonnull msg) {
}];
}
}