|
|
@@ -39,14 +39,6 @@ static id<ZhiyingCommNativeProtocol> _delegate; |
|
|
|
setting = [_delegate getSetting]; |
|
|
|
} |
|
|
|
result(setting); |
|
|
|
} else if ([@"openWechatPay" isEqualToString:call.method]) { |
|
|
|
if ([_delegate respondsToSelector:@selector(openWechatPay:status:)]) { |
|
|
|
[_delegate openWechatPay: call.arguments status: ^(ZhiyingCommNativeResult *res) { |
|
|
|
result([res toDict]); |
|
|
|
}]; |
|
|
|
} else { |
|
|
|
result([NativeCommandNotImp toDict]); |
|
|
|
} |
|
|
|
} else if ([@"invokeMethod" isEqualToString:call.method]) { |
|
|
|
NSDictionary *dict = call.arguments; |
|
|
|
NSString *method = [dict valueForKey:@"method"]; |
|
|
|