Commit 089a464faaa9d60f0120049d872474ffb753e4ab

Authored by “张旭”
1 parent f827fea1

调通分享

metaCode/Classes/Main/HuBiLieHomePage/Controller/CNLiveTVPlayerViewController.swift
@@ -610,7 +610,7 @@ class CNLiveTVPlayerViewController:UIViewController, UITableViewDataSource, UITa @@ -610,7 +610,7 @@ class CNLiveTVPlayerViewController:UIViewController, UITableViewDataSource, UITa
610 // 610 //
611 //http://wjjh5.cnlive.com/cnYjzg.html?id=2&version=1.0.9&isShowTitle=true&plat=i&wjjFrom=apple&backgroundColor=%234B8AF5&wjjToken=ACGspwyhX6xbuJ27P0flZOejyKjcS70g7VegVKRgAWPUzacEKgXz2JcmlAVoc5oG&appId=769_li40lrkt53&channelName=yjzg&shareSid=352610&isApp=false&ver=1.0.9.24.03.27.14&sid=352610&wjjUUID=B849E3C36DF04D89B0C8DB9322B69B51_1711520943&voteId=AS5FFqIhAAAQAAAAAAAAAA==&isWjjReport=true 611 //http://wjjh5.cnlive.com/cnYjzg.html?id=2&version=1.0.9&isShowTitle=true&plat=i&wjjFrom=apple&backgroundColor=%234B8AF5&wjjToken=ACGspwyhX6xbuJ27P0flZOejyKjcS70g7VegVKRgAWPUzacEKgXz2JcmlAVoc5oG&appId=769_li40lrkt53&channelName=yjzg&shareSid=352610&isApp=false&ver=1.0.9.24.03.27.14&sid=352610&wjjUUID=B849E3C36DF04D89B0C8DB9322B69B51_1711520943&voteId=AS5FFqIhAAAQAAAAAAAAAA==&isWjjReport=true
612 //https://wjjh5.cnlive.com/apkdownloadYuanma.php 612 //https://wjjh5.cnlive.com/apkdownloadYuanma.php
613 - CNLiveShareManager.showShareViewWithParam(forShareTitle: "标题111", shareUrl: "http://wjjh5.cnlive.com/cnYjzg.html?id=2&version=1.0.9&isShowTitle=true&plat=i&wjjFrom=apple&backgroundColor=%234B8AF5&wjjToken=ACGspwyhX6xbuJ27P0flZOejyKjcS70g7VegVKRgAWPUzacEKgXz2JcmlAVoc5oG&appId=769_li40lrkt53&channelName=yjzg&shareSid=352610&isApp=false&ver=1.0.9.24.03.27.14&sid=352610&wjjUUID=B849E3C36DF04D89B0C8DB9322B69B51_1711520943&voteId=AS5FFqIhAAAQAAAAAAAAAA==&isWjjReport=true", shareDesc: "描述111", 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 613 + 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
614 614
615 } completerBlock: { resultType, platformType, typeString in 615 } completerBlock: { resultType, platformType, typeString in
616 if resultType == .succ{ 616 if resultType == .succ{
metaCode/Classes/Other/AppDelegate.swift
@@ -31,7 +31,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate { @@ -31,7 +31,13 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
31 31
32 // Override point for customization after application launch. 32 // Override point for customization after application launch.
33 //tencentAppId wxAppId 33 //tencentAppId wxAppId
  34 +// WXApi.startLog(by: .detail) { log in
  35 +// print("1111:\(log)")
  36 +// }
34 CNLiveShareManager.registeredShareView(whenDidFinishLaunch: universalLinkURL, appId: APPId, tencentAppId: tencentAppId, wxAppId: wxAppId, wxSecret: wxSecret, weiBoAppId: "") 37 CNLiveShareManager.registeredShareView(whenDidFinishLaunch: universalLinkURL, appId: APPId, tencentAppId: tencentAppId, wxAppId: wxAppId, wxSecret: wxSecret, weiBoAppId: "")
  38 +// WXApi.checkUniversalLinkReady { step, result in
  39 +// print("111:\(step),\(result.success),\(result.errorInfo),\(result.suggestion)")
  40 +// }
35 CNLiveShareImageManager().wxAppid = wxAppId 41 CNLiveShareImageManager().wxAppid = wxAppId
36 CNLiveShareImageManager().wxSecret = wxSecret 42 CNLiveShareImageManager().wxSecret = wxSecret
37 43
@@ -102,8 +108,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate { @@ -102,8 +108,9 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
102 AppDelegate_configRequestManager() 108 AppDelegate_configRequestManager()
103 AppDelegate_configIQKeyboardManager() 109 AppDelegate_configIQKeyboardManager()
104 110
105 - CNLivePayCostModule.finishLaunchingWithPayPluginSettings()  
106 -// CNLivePayCostModule.finishLaunchingWithPayPluginSettings(withWWXAppId: "wx82209bed331a549b", hostURL: "https://metacode.cnlive.com") //微信小程序支付用 111 +// CNLivePayCostModule.finishLaunchingWithPayPluginSettings()
  112 + CNLivePayCostModule.finishLaunchingWithPayPluginSettings(withWWXAppId: wxAppId, hostURL: universalLinkURL)
  113 +
107 114
108 // //认证-下滑原生页数据库 115 // //认证-下滑原生页数据库
109 // let databasePath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first! 116 // let databasePath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first!