Showing
3 changed files
with
4 additions
and
1 deletions
No preview for this file type
... | @@ -1059,6 +1059,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) | ... | @@ -1059,6 +1059,8 @@ WL_VERSION_IMPLEMENTATION(WL_VERSION) |
1059 | { | 1059 | { |
1060 | NSMutableDictionary* data = [[NSMutableDictionary alloc] init]; | 1060 | NSMutableDictionary* data = [[NSMutableDictionary alloc] init]; |
1061 | 1061 | ||
1062 | + [data setValue:@"consumer_extra_data" forKey:@"method"]; | ||
1063 | + | ||
1062 | if (nonTelco && ![nonTelco isEqual:@NO]) { | 1064 | if (nonTelco && ![nonTelco isEqual:@NO]) { |
1063 | [data setValue:nonTelco forKey:@"nonTelco"]; | 1065 | [data setValue:nonTelco forKey:@"nonTelco"]; |
1064 | } else { | 1066 | } else { | ... | ... |
... | @@ -1490,7 +1490,8 @@ public class swiftApi { | ... | @@ -1490,7 +1490,8 @@ public class swiftApi { |
1490 | if (item.offer_category == "questionnaire") { | 1490 | if (item.offer_category == "questionnaire") { |
1491 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 1491 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) |
1492 | let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! CampaignViewController | 1492 | let vc = storyboard.instantiateViewController(withIdentifier: "CampaignViewController") as! CampaignViewController |
1493 | - vc.campaignUrl = item.index_url ?? "" | 1493 | + let url = swiftApi().constructCampaignUrl(item) |
1494 | + vc.campaignUrl = url | ||
1494 | controller.navigationController?.pushViewController(vc, animated: true) | 1495 | controller.navigationController?.pushViewController(vc, animated: true) |
1495 | break; | 1496 | break; |
1496 | } | 1497 | } | ... | ... |
-
Please register or login to post a comment