Commit bedb8fb157dae1b177dd490d3c6edb3da14efe3d
1 parent
55dd78e6
no message
Showing
1 changed file
with
4 additions
and
1 deletions
CNLiveScioLive/Pages/Live/Controller/GraphicLiveViewController.m
| ... | ... | @@ -197,10 +197,13 @@ |
| 197 | 197 | if ([text isEqualToString:@"<null>"]) { |
| 198 | 198 | text = _dictionary[@"title"]; |
| 199 | 199 | } |
| 200 | + if ([shareUrl isEqualToString:@"<null>"]||[shareUrl isEqualToString:@"(null)"]) { | |
| 201 | + shareUrl = @"http://app.scio.gov.cn/gxbShare.html"; | |
| 202 | + } | |
| 200 | 203 | NSMutableDictionary *shareParams = [NSMutableDictionary dictionary]; |
| 201 | 204 | [shareParams SSDKSetupShareParamsByText:text |
| 202 | 205 | images:@[[UIImage imageNamed:@"cnlive_zhouxin_icon"]] |
| 203 | - url:[NSURL URLWithString:shareUrl?shareUrl:@"http://app.scio.gov.cn/gxbShare.html"] | |
| 206 | + url:[NSURL URLWithString:shareUrl] | |
| 204 | 207 | title:_dictionary[@"title"] |
| 205 | 208 | type:SSDKContentTypeAuto]; |
| 206 | 209 | //2、分享(可以弹出我们的分享菜单和编辑界面) | ... | ... |