Browse Source

1.票圈视频 v3.0.4+395

wenweiwei 3 years ago
parent
commit
5add0a1c5d

+ 1 - 1
BFFramework/Classes/Stuckpoint/View/PQSelecteMusicView.swift

@@ -640,7 +640,7 @@ class PQSelectMusicCell: UICollectionViewCell {
             playImageView.isHidden = false
             imageMaskView.isHidden = false
             playImageView.image = nil
-            playImageView.kf.setImage(with: URL(fileURLWithPath: currentBundle()!.path(forResource: "stuckPoint_music_playing", ofType: ".gif")!))
+            playImageView.kf.setImage(with: URL(fileURLWithPath: Bundle.current(moduleName: "BFFramework",isAssets: false)!.path(forResource: "stuckPoint_music_playing", ofType: ".gif")!))
       
         } else if  bgmData?.voiceStatue == .isPause{
             playImageView.isHidden = false

+ 1 - 1
BFFramework/Classes/Utils/PQThirdPlatformUtil.swift

@@ -156,7 +156,7 @@ public class PQSingletoWXApiUtil: NSObject {
                         targetPagePath = "user-videos"
                         isRhythmVideo = 0
                     }
-                    var params = (targetPagePath + "?id=\(videoId)&tp=share&rootPageSource=\(pageSource.rawValue)&shareDepth=1&rootLaunchShareId=\(shareId)&parentShareId=\(shareId)&shareId=\(shareId)&shareAppType=\(BFConfig.shared.appType)&mid=\(getMachineCode())&su=\(BFLoginUserInfo.shared.uid)&isRhythmVideo=\(isRhythmVideo)").addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)
+                    var params = (targetPagePath + "?id=\(videoId)&tp=share&rootPageSource=\(pageSource.rawValue)&shareDepth=1&rootLaunchShareId=\(shareId)&parentShareId=\(shareId)&shareId=\(shareId)&shareAppType=\(BFConfig.shared.appType)&mid=\(getMachineCode())&su=\(BFLoginUserInfo.shared.uid)&isRhythmVideo=\(isRhythmVideo)&rootPageTimestamp=\(Int64(Date().timeIntervalSince1970 * 1000))").addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed)
                     ["/", "=", "?", "&"].forEach { char in
                         let custom = CharacterSet(charactersIn: char).inverted
                         params = params?.addingPercentEncoding(withAllowedCharacters: custom) ?? ""