Commit 5fe2ec56 authored by GoldMask's avatar GoldMask

fix

parent 23ae3fca
......@@ -129,7 +129,7 @@ static AlibcUtil *p = nil ;
showParams:showParams
taoKeParams:taokeParam
trackParam:trackParam
openUrlCallBack:^(NSError *_Nonnull error) {
openUrlCallBack:^(NSError *error,NSDictionary *result) {
if (error) {
NSLog(@"调用失败");
result(@{@"status":@(error.code),@"code":@(error.code),@"msg":error.userInfo});
......@@ -153,7 +153,7 @@ static AlibcUtil *p = nil ;
NSDictionary *trackParams = [call.arguments[@"trackParams"] isKindOfClass:[NSNull class]]? @{}:call.arguments[@"trackParams"];
// 构造taokeParam
[[[AlibcTradeUltimateSDK sharedInstance] tradeService] openTradeUrl:detailUrl parentController:(UINavigationController*)[UIApplication sharedApplication].keyWindow.rootViewController showParams:showParams taoKeParams:taokeParam trackParam:trackParams openUrlCallBack:^(NSError *error) {
[[[AlibcTradeUltimateSDK sharedInstance] tradeService] openTradeUrl:detailUrl parentController:(UINavigationController*)[UIApplication sharedApplication].keyWindow.rootViewController showParams:showParams taoKeParams:taokeParam trackParam:trackParams openUrlCallBack:^(NSError *error,NSDictionary *result) {
if (error) {
NSLog(@"调用成功");
} else {
......
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