|
@@ -1129,9 +1129,17 @@ extension PQStuckPointPublicController {
|
|
PQBaseViewModel.h5ShareLinkInfo(videoId: videoData?.uniqueId ?? "", pageSource: videoData?.pageSource ?? .sp_category) { [weak self] path, _ in
|
|
PQBaseViewModel.h5ShareLinkInfo(videoId: videoData?.uniqueId ?? "", pageSource: videoData?.pageSource ?? .sp_category) { [weak self] path, _ in
|
|
cHiddenHUB(superView: nil)
|
|
cHiddenHUB(superView: nil)
|
|
if path != nil {
|
|
if path != nil {
|
|
- self?.isShared = true
|
|
|
|
-
|
|
|
|
- PQSingletoWXApiUtil.shared.share(type: 1, scene: Int32(WXSceneTimeline.rawValue), title: self?.videoData?.title ?? "\(BFLoginUserInfo.shared.nickName)made a music video for you", description: "", imageUrl: self?.videoData?.shareImgPath, path: path, videoId: (self?.videoData?.uniqueId)!, pageSource: self?.videoData?.pageSource ?? .sp_category, shareId: shareId).wxApiUtilHander = { _, _ in
|
|
|
|
|
|
+
|
|
|
|
+ PQBaseViewModel.wxFriendShareInfo(videoId: (self?.videoData?.uniqueId)!) { [weak self] imagePath, title, shareWeappRawId, msg in
|
|
|
|
+ if msg != nil {
|
|
|
|
+ cShowHUB(superView: nil, msg: "网络不佳哦")
|
|
|
|
+ return
|
|
|
|
+ }
|
|
|
|
+ self?.isShared = true
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ PQSingletoWXApiUtil.shared.share(type: 1, scene: Int32(WXSceneTimeline.rawValue), title: self?.videoData?.title ?? "\(BFLoginUserInfo.shared.nickName)made a music video for you", description: "", imageUrl: imagePath, path: path, videoId: (self?.videoData?.uniqueId)!, pageSource: self?.videoData?.pageSource ?? .sp_category, shareId: shareId).wxApiUtilHander = { _, _ in
|
|
|
|
+ }
|
|
}
|
|
}
|
|
} else {
|
|
} else {
|
|
cShowHUB(superView: nil, msg: "网络不佳哦")
|
|
cShowHUB(superView: nil, msg: "网络不佳哦")
|