提交
This commit is contained in:
@@ -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) {
|
||||
|
||||
}];
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user