Commit 8131b7a04fd0295e2efe91f2060a6a7d181798e0
1 parent
5f182402
分享只留 微信好友 微信朋友圈
Showing
7 changed files
with
9 additions
and
9 deletions
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumeController.swift
| ... | ... | @@ -149,7 +149,7 @@ class CNLiveDigitalResumeController:CNLiveBaseViewController,UITableViewDataSour |
| 149 | 149 | let title = (UserInfoManager.shared.userInfo.currentUser?.name ?? "TA") + "的数字简历" |
| 150 | 150 | let shareImage = "https://wjj.ys1.cnliveimg.com/769/h5/other/downloadLogo_yuanma.png" |
| 151 | 151 | |
| 152 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: title, shareUrl: shareUrl, shareDesc: "了解TA,从数字简历开始!", shareImage: shareImage, screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: false, formVC: self, topImage: [], topTitles: [], platformType: .all) { title in | |
| 152 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: title, shareUrl: shareUrl, shareDesc: "了解TA,从数字简历开始!", shareImage: shareImage, screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: self, topImage: [], topTitles: [], platformType: .all) { title in | |
| 153 | 153 | |
| 154 | 154 | } completerBlock: { resultType, platformType, typeString in |
| 155 | 155 | if resultType == .succ{ | ... | ... |
metaCode/Classes/Main/HomePage/Controller/DigitalAuth/数字简历相关页面/CNLiveDigitalResumePreViewController.swift
| ... | ... | @@ -535,7 +535,7 @@ class CNLiveDigitalResumePreViewController:CNLiveBaseViewController,UITableViewD |
| 535 | 535 | let title = (UserInfoManager.shared.userInfo.currentUser?.name ?? "TA") + "的数字简历" |
| 536 | 536 | let shareImage = "https://wjj.ys1.cnliveimg.com/769/h5/other/downloadLogo_yuanma.png" |
| 537 | 537 | |
| 538 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: title, shareUrl: shareUrl, shareDesc: "了解TA,从数字简历开始!", shareImage: shareImage, screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: false, formVC: self, topImage: [], topTitles: [], platformType: .all) { title in | |
| 538 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: title, shareUrl: shareUrl, shareDesc: "了解TA,从数字简历开始!", shareImage: shareImage, screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: self, topImage: [], topTitles: [], platformType: .all) { title in | |
| 539 | 539 | |
| 540 | 540 | } completerBlock: { resultType, platformType, typeString in |
| 541 | 541 | if resultType == .succ{ | ... | ... |
metaCode/Classes/Main/HomePage/Controller/GoodsDetail/CNLiveShopGoodsDetailsViewController.swift
| ... | ... | @@ -362,7 +362,7 @@ class CNLiveShopGoodsDetailsViewController:CNLiveBaseViewController,UITableViewD |
| 362 | 362 | @objc func shareNavBtnClick(){ |
| 363 | 363 | CNLiveShopGoodListViewModel.postGetShareDataWithType(type: 2, targetId: self.goodsId!, ext: "") {[weak self] result, status in |
| 364 | 364 | let model = result as! CNLiveShopCommentRequestShareModel |
| 365 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: model.share_title, shareUrl: model.url, shareDesc: model.share_desc, shareImage: model.share_img, screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: false, formVC: self, topImage: nil, topTitles: nil, platformType: .all) { str in | |
| 365 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: model.share_title, shareUrl: model.url, shareDesc: model.share_desc, shareImage: model.share_img, screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: self, topImage: nil, topTitles: nil, platformType: .all) { str in | |
| 366 | 366 | |
| 367 | 367 | } completerBlock: { resultType, platformType, typtString in |
| 368 | 368 | if (resultType == .succ) { | ... | ... |
metaCode/Classes/Main/HomePage/Controller/WebController/CNWebView.swift
| ... | ... | @@ -180,7 +180,7 @@ class CNWebView:UIView,WKNavigationDelegate, WKScriptMessageHandler,WKUIDelegate |
| 180 | 180 | let shareUrl = shareModel.url |
| 181 | 181 | let shareDesc = shareModel.share_desc |
| 182 | 182 | let shareImage = shareModel.share_img |
| 183 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: shareTitle, shareUrl: "https://wjjh5.cnlive.com/apkdownloadYuanma.php", shareDesc: shareDesc, shareImage: shareImage, screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: currentViewController(), topImage: [], topTitles: [], platformType: .all) { title in | |
| 183 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: shareTitle, shareUrl: "https://wjjh5.cnlive.com/apkdownloadYuanma.php", shareDesc: shareDesc, shareImage: shareImage, screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: currentViewController(), topImage: [], topTitles: [], platformType: .all) { title in | |
| 184 | 184 | |
| 185 | 185 | } completerBlock: { resultType, platformType, typeString in |
| 186 | 186 | if resultType == .succ{ |
| ... | ... | @@ -234,7 +234,7 @@ class CNWebView:UIView,WKNavigationDelegate, WKScriptMessageHandler,WKUIDelegate |
| 234 | 234 | self.bridge?.registerHandler("wjjylzgVideoShare", handler: { data, responseCallback in |
| 235 | 235 | // print("js call oc\(data)") |
| 236 | 236 | let dic = data as! Dictionary<String, String> |
| 237 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: dic["title"], shareUrl: dic["shareUrl"], shareDesc: dic["subTitle"], shareImage: dic["cover"], screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: currentViewController(), topImage: [], topTitles: [], platformType: .all) { title in | |
| 237 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: dic["title"], shareUrl: dic["shareUrl"], shareDesc: dic["subTitle"], shareImage: dic["cover"], screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: currentViewController(), topImage: [], topTitles: [], platformType: .all) { title in | |
| 238 | 238 | |
| 239 | 239 | } completerBlock: { resultType, platformType, typeString in |
| 240 | 240 | if resultType == .succ{ |
| ... | ... | @@ -357,7 +357,7 @@ class CNWebView:UIView,WKNavigationDelegate, WKScriptMessageHandler,WKUIDelegate |
| 357 | 357 | |
| 358 | 358 | DispatchQueue.main.async { |
| 359 | 359 | let image = UIImage(data: data) |
| 360 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: "", shareUrl: "", shareDesc:"", shareImage: image, screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: currentViewController(), topImage: [], topTitles: [], platformType: .all) { title in | |
| 360 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: "", shareUrl: "", shareDesc:"", shareImage: image, screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: currentViewController(), topImage: [], topTitles: [], platformType: .all) { title in | |
| 361 | 361 | |
| 362 | 362 | } completerBlock: { resultType, platformType, typeString in |
| 363 | 363 | if resultType == .succ{ | ... | ... |
metaCode/Classes/Main/HomePage/Controller/WebController/CNWebViewController.swift
| ... | ... | @@ -161,7 +161,7 @@ class CNWebViewController:CNLiveBaseViewController ,WKNavigationDelegate{ |
| 161 | 161 | shareUrl = self.currentUrl |
| 162 | 162 | } |
| 163 | 163 | |
| 164 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: title, shareUrl: shareUrl, shareDesc: desc, shareImage: shareImg, screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: self, topImage: [], topTitles: [], platformType: .all) { title in | |
| 164 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: title, shareUrl: shareUrl, shareDesc: desc, shareImage: shareImg, screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: self, topImage: [], topTitles: [], platformType: .all) { title in | |
| 165 | 165 | |
| 166 | 166 | } completerBlock: { resultType, platformType, typeString in |
| 167 | 167 | if resultType == .succ{ | ... | ... |
metaCode/Classes/Main/HuBiLieHomePage/Controller/CNLiveTVPlayerViewController.swift
| ... | ... | @@ -1346,7 +1346,7 @@ class CNLiveTVPlayerViewController:UIViewController, UITableViewDataSource, UITa |
| 1346 | 1346 | } |
| 1347 | 1347 | } |
| 1348 | 1348 | func vodShare(vodPlayBlockListListModel:CNLiveVodPlayBlockListListModel){ |
| 1349 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: vodPlayBlockListListModel.title, shareUrl: "https://wjjh5.cnlive.com/apkdownloadYuanma.php", shareDesc: vodPlayBlockListListModel.desc, shareImage: vodPlayBlockListListModel.img, screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: false, formVC: currentViewController(), topImage: [], topTitles: [], platformType: .all) { title in | |
| 1349 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: vodPlayBlockListListModel.title, shareUrl: "https://wjjh5.cnlive.com/apkdownloadYuanma.php", shareDesc: vodPlayBlockListListModel.desc, shareImage: vodPlayBlockListListModel.img, screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: currentViewController(), topImage: [], topTitles: [], platformType: .all) { title in | |
| 1350 | 1350 | |
| 1351 | 1351 | } completerBlock: { resultType, platformType, typeString in |
| 1352 | 1352 | if resultType == .succ{ | ... | ... |
metaCode/Classes/Main/VideoPage/Controller/CNLiveShortVideoViewController.swift
| ... | ... | @@ -857,7 +857,7 @@ extension CNLiveShortVideoViewController { |
| 857 | 857 | }) |
| 858 | 858 | } |
| 859 | 859 | func shareActionMethod(viewcell: CNLiveShortVideoListTableViewCell, button: UIButton) { |
| 860 | - CNLiveShareManager.showShareViewWithParam(forShareTitle: viewcell.homeModel.title, shareUrl: viewcell.homeModel.shareUrl, shareDesc: viewcell.homeModel.subTitle, shareImage: viewcell.homeModel.poster, screenFull: false, hiddenWjj: true, hiddenQQ: false, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: self, topImage: [], topTitles: [], platformType: .all) { title in} completerBlock: {resultType, platformType, typeString in | |
| 860 | + CNLiveShareManager.showShareViewWithParam(forShareTitle: viewcell.homeModel.title, shareUrl: viewcell.homeModel.shareUrl, shareDesc: viewcell.homeModel.subTitle, shareImage: viewcell.homeModel.poster, screenFull: false, hiddenWjj: true, hiddenQQ: true, hiddenWB: true, hiddenLifeCircle: true, hiddenWechatCircle: false, hiddenWechat: false, hiddenSafari: true, formVC: self, topImage: [], topTitles: [], platformType: .all) { title in} completerBlock: {resultType, platformType, typeString in | |
| 861 | 861 | if resultType == .succ { |
| 862 | 862 | showLoading(message: "") |
| 863 | 863 | CNLiveShortVideoViewModel.requestRankWithLike(contentId: viewcell.homeModel.pid, contentTitle: viewcell.homeModel.title, contentSid: viewcell.homeModel.icon!.id, support: true, isShare: true) {result, respStatue in | ... | ... |