Skip to content

Commit 45faf84

Browse files
author
eagleychen
committed
set方法被覆盖
1 parent 157f36d commit 45faf84

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Source/SDK/LinkVideo/TIoTCoreXP2PBridge.mm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ - (instancetype)init {
232232

233233
_uniReqStartTime = [NSMutableDictionary dictionary];
234234

235-
[self getAppConfig];
235+
[self getAppLogConfig];
236236
}
237237
return self;
238238
}
@@ -419,7 +419,7 @@ - (void)appGetUserConfig:(TIoTP2PAPPConfig *)appconfig {
419419
NSError *jsonerror = nil;
420420
NSDictionary *dic = [NSJSONSerialization JSONObjectWithData:data options:NSJSONReadingAllowFragments error:&jsonerror];
421421
// NSLog(@"log serverapi:content===>%@, param==>%@, data===>%@",content,accessParam,dic);
422-
[self setAppConfig:[[dic objectForKey:@"data"] objectForKey:@"Data"]];
422+
[self setAppLogConfig:[[dic objectForKey:@"data"] objectForKey:@"Data"]];
423423
}
424424
}];
425425
[tasklog resume];
@@ -929,7 +929,7 @@ - (void)reportUserList:(data_report_t)report {
929929
}
930930
}
931931

932-
- (void)getAppConfig {
932+
- (void)getAppLogConfig {
933933
NSString * tmp_p2p_log_enabled = [self readKeychainValue:@"p2p_log_enabled"];
934934
NSString * tmp_ops_report_enabled = [self readKeychainValue:@"ops_report_enabled"];
935935

@@ -940,7 +940,7 @@ - (void)getAppConfig {
940940
ops_report_enabled = tmp_ops_report_enabled.boolValue;
941941
}
942942
}
943-
- (void)setAppConfig:(NSDictionary *)appconfig {
943+
- (void)setAppLogConfig:(NSDictionary *)appconfig {
944944
NSString * tmp_p2p_log_enabled = [appconfig objectForKey:@"P2PLogEnabled"];
945945
NSString * tmp_ops_report_enabled = [appconfig objectForKey:@"OpsLogEnabled"];
946946

0 commit comments

Comments
 (0)