فهرست منبع

增加topicinfo解析

huzhiqiang 3 سال پیش
والد
کامیت
5a4a779975
1فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 3 0
      BFFramework/Classes/PModels/PQVideoListModel.swift

+ 3 - 0
BFFramework/Classes/PModels/PQVideoListModel.swift

@@ -285,6 +285,9 @@ open class PQVideoListModel: PQBaseModel, BFVideoItemProtocol {
             user = jsonDict["user"] as? [String: Any]
             userInfo = PQUserInfoModel(jsonDict: user!)
         }
+        if jsonDict.keys.contains("topicInfo") {
+            topicInfo = jsonDict["topicInfo"] as? [String: Any]
+        }
         if jsonDict.keys.contains("shareCountFriend") {
             shareCountFriend = Int("\(jsonDict["shareCountFriend"] ?? "0")") ?? 0
         }