phi_2.44.5.1
Sean 2024-06-14 18:14:42 +08:00
parent 1f5458146d
commit 85f201dced
1 changed files with 2 additions and 1 deletions

View File

@ -30,11 +30,12 @@
} }
// //
BOOL hasError = [[result allKeys] containsObject:@"errMsg"]; BOOL hasError = [[result allKeys] containsObject:@"errMsg"];
NSLog(@"extensionApi [%i] reslut:%@", hasError, [result allKeys]);
if (hasError) { if (hasError) {
NSString *errMsg = result[@"errMsg"]; NSString *errMsg = result[@"errMsg"];
NSString *errPrefix = [NSString stringWithFormat:@"%@:fail", name]; NSString *errPrefix = [NSString stringWithFormat:@"%@:fail", name];
NSLog(@"extensionApi2 [%@] reslut:%@", hasError, errMsg);
BOOL isFail = [errMsg hasPrefix:errPrefix]; BOOL isFail = [errMsg hasPrefix:errPrefix];
if (isFail) { if (isFail) {
NSLog(@"extensionApi reslut:fail"); NSLog(@"extensionApi reslut:fail");