Commit 15976c8c by HouWeiBin

SDK中,将BUYDataCheckoutBlock当作BUYCheckoutOperationCompletion传递的问题

parent 147b0e2e
......@@ -103,9 +103,9 @@
}];
}
- (BUYOperation *)completeCheckoutWithToken:(NSString *)checkoutToken paymentToken:(id<BUYPaymentToken>)paymentToken completion:(BUYDataCheckoutBlock)block
- (BUYOperation *)completeCheckoutWithToken:(NSString *)checkoutToken paymentToken:(id<BUYPaymentToken>)paymentToken completion:(BUYCheckoutOperationCompletion)block
{
BUYCheckoutOperation *operation = [BUYCheckoutOperation operationWithClient:self checkoutToken:checkoutToken token:paymentToken completion:block];
BUYCheckoutOperationCompletion *operation = [BUYCheckoutOperationCompletion operationWithClient:self checkoutToken:checkoutToken token:paymentToken completion:block];
[self startOperation:operation];
return operation;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment