Explorar o código

Merge branch 'master' of https://git.yishihui.com/iOS/BFCommonKit
合并代码

jsonwang %!s(int64=3) %!d(string=hai) anos
pai
achega
3d55778dd4

+ 1 - 1
BFCommonKit/Classes/BFCategorys/Date+Ext.swift

@@ -31,7 +31,7 @@ public extension Double {
     /// - Parameter value: <#value description#>
     /// - Returns: <#description#>
     func formatDurationToHMS() -> String {
-        var theTime = lround(self)
+        var theTime = Int(floor(self))
         var theTime1 = 0 // 分
         var theTime2 = 0 // 小时
         if theTime < 60 {

+ 2 - 0
BFCommonKit/Classes/BFProtocols/BFProtocols.swift

@@ -117,4 +117,6 @@ public protocol BFVideoItemProtocol {
     // 话题信息
     var topicData: [String: Any]? { get set }
     var uplpadImage: UIImage? { get set } // 上传的图片封面
+    // callbackParam = ["code":""0]
+//    var uplpadRequest: Dictionary<String,Any>? { get set } // 上传数据信息
 }