Commit 5fe2ec56 authored by GoldMask's avatar GoldMask

fix

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