Prechádzať zdrojové kódy

1,间隔设置为1s 2,添加统计

jsonwang 3 rokov pred
rodič
commit
135060b365

+ 5 - 3
Introduce/Record/INRecorderController.swift

@@ -37,7 +37,7 @@ class INRecorderController: BFBaseViewController {
         btn.setTitleColor(UIColor.init(white: 1, alpha: 0.5), for: .normal)
         btn.titleLabel?.font = UIFont.systemFont(ofSize: 17)
         btn.addTarget(self, action: #selector(cameraBtnAction), for: .touchUpInside)
-        btn.eventInterval = 0.5
+        btn.eventInterval = 1
 
         return btn
     }()
@@ -49,7 +49,7 @@ class INRecorderController: BFBaseViewController {
         btn.setTitleColor(UIColor.init(white: 1, alpha: 0.5), for: .normal)
         btn.titleLabel?.font = UIFont.systemFont(ofSize: 17)
         btn.addTarget(self, action: #selector(addVideo), for: .touchUpInside)
-        btn.eventInterval = 0.5
+        btn.eventInterval = 1
         return btn
     }()
     
@@ -316,7 +316,7 @@ class INRecorderController: BFBaseViewController {
             vc.hidesBottomBarWhenPushed = true
             navigationController?.pushViewController(vc, animated: true)
             // 按钮点击
-            BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_addVideo, pageSource: .sp_homePage, commonParams: commonParams())
+            BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_addVideoButton, pageSource: .sp_homePage,extParams:nil,commonParams: commonParams())
         }
     }
     
@@ -328,6 +328,8 @@ class INRecorderController: BFBaseViewController {
             vc.assets = [ass]
             navigationController?.pushViewController(vc, animated: true)
         }
+        BFEventTrackAdaptor.baseReportUpload(businessType: .bt_buttonClick, objectType: .ot_shootVideoButton, pageSource: .sp_homePage,extParams:nil,commonParams: commonParams())
+        
     }
     
     @objc func settingBtnAction() {