瀏覽代碼

Merge branch 'master' of https://git.yishihui.com/iOS/BFFramework

wenweiwei 3 年之前
父節點
當前提交
a923ea913c
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      BFFramework/Classes/Utils/PQThirdPlatformUtil.swift

+ 3 - 2
BFFramework/Classes/Utils/PQThirdPlatformUtil.swift

@@ -132,9 +132,10 @@ public class PQSingletoWXApiUtil: NSObject {
             return .shared
         }
         let message = WXMediaMessage()
-        message.title = title ?? ""
+        message.title = (title?.count ?? 0) > 0 ? title! : "分享一个视频给你"
         message.description = description ?? ""
-
+        BFLog(1, message: "test - \(String(describing: imageUrl))")
+        
         ImageDownloader.default.downloadImage(with: URL(string: imageUrl ?? "")!, options: nil) { result in
             switch result {
             case let .success(imageResult):