|
@@ -1519,13 +1519,14 @@ extension PQStuckPointPublicController {
|
|
|
}
|
|
|
cShowHUB(superView: nil, msg: nil)
|
|
|
let shareId = getUniqueId(desc: "\(videoData?.uniqueId ?? "")shareId")
|
|
|
+ let rootPageTimestamp = Int64(Date().timeIntervalSince1970 * 1000)
|
|
|
PQBaseViewModel.wxFriendShareInfo(videoId: (videoData?.uniqueId)!) { [weak self] imagePath, title, shareWeappRawId, msg in
|
|
|
if msg != nil {
|
|
|
cShowHUB(superView: nil, msg: "网络不佳哦")
|
|
|
return
|
|
|
}
|
|
|
self?.isShared = true
|
|
|
- PQSingletoWXApiUtil.shared.share(type: 3, scene: Int32(WXSceneSession.rawValue), shareWeappRawId: shareWeappRawId, title: title, description: title, imageUrl: imagePath, path: self?.videoData?.videoPath, videoId: (self?.videoData?.uniqueId)!, pageSource: self?.videoData?.pageSource ?? .sp_category, shareId: shareId).wxApiUtilHander = { _, _ in
|
|
|
+ PQSingletoWXApiUtil.shared.share(rootPageTimestamp:rootPageTimestamp,type: 3, scene: Int32(WXSceneSession.rawValue), shareWeappRawId: shareWeappRawId, title: title, description: title, imageUrl: imagePath, path: self?.videoData?.videoPath, videoId: (self?.videoData?.uniqueId)!, pageSource: self?.videoData?.pageSource ?? .sp_category, shareId: shareId).wxApiUtilHander = { _, _ in
|
|
|
}
|
|
|
cHiddenHUB(superView: nil)
|
|
|
}
|
|
@@ -1541,6 +1542,7 @@ extension PQStuckPointPublicController {
|
|
|
return
|
|
|
}
|
|
|
let shareId = getUniqueId(desc: "\(videoData?.uniqueId ?? "")shareId")
|
|
|
+ let rootPageTimestamp = Int64(Date().timeIntervalSince1970 * 1000)
|
|
|
PQBaseViewModel.h5ShareLinkInfo(videoId: videoData?.uniqueId ?? "", pageSource: videoData?.pageSource ?? .sp_category) { [weak self] path, _ in
|
|
|
cHiddenHUB(superView: nil)
|
|
|
if path != nil {
|
|
@@ -1551,7 +1553,7 @@ extension PQStuckPointPublicController {
|
|
|
}
|
|
|
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
|
|
|
+ PQSingletoWXApiUtil.shared.share(rootPageTimestamp:rootPageTimestamp,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 {
|