|
@@ -6,9 +6,9 @@
|
|
|
// Copyright © 2021 BytesFlow. All rights reserved.
|
|
|
//
|
|
|
|
|
|
-import UIKit
|
|
|
import BFCommonKit
|
|
|
import BFNetRequestKit
|
|
|
+import UIKit
|
|
|
|
|
|
public class PQVideoMakeEventTrackModel: NSObject {
|
|
|
// 进入创作工具的入口
|
|
@@ -116,14 +116,15 @@ public class PQVideoMakeEventTrackModel: NSObject {
|
|
|
public var syncedUpOriginalMaterialDuration: Float64 = 0
|
|
|
// 卡点视频 视频选用节奏名称(快节奏 1、适中 2、慢节奏 3))
|
|
|
public var syncedUpRhythmNumber: Int = 2
|
|
|
- public var syncedUpVideoType:createStickersModel = .createStickersModelPoint
|
|
|
- public var syncedUpVideoSpeedMax:Float = 0.0
|
|
|
- public var syncedUpVideoSpeedMin:Float = 0.0
|
|
|
- public var abInfoData:Dictionary<String,Any>?
|
|
|
-
|
|
|
+ public var syncedUpVideoType: createStickersModel = .createStickersModelPoint
|
|
|
+ public var syncedUpVideoSpeedMax: Float = 0.0
|
|
|
+ public var syncedUpVideoSpeedMin: Float = 0.0
|
|
|
+ public var abInfoData: [String: Any]?
|
|
|
+
|
|
|
override public init() {
|
|
|
super.init()
|
|
|
}
|
|
|
+
|
|
|
/// 转换为字典
|
|
|
/// - Returns: <#description#>
|
|
|
public func toParams() -> [String: Any] {
|
|
@@ -223,12 +224,12 @@ public class PQVideoMakeEventTrackModel: NSObject {
|
|
|
// 卡点视频 视频选用节奏名称(快节奏 1、适中 2、慢节奏 3))
|
|
|
eventTrackDic["syncedUpRhythmNumber"] = syncedUpRhythmNumber
|
|
|
|
|
|
- //- 1:跳跃卡点,2:快慢速,3:仅配乐
|
|
|
- if(syncedUpVideoType == .createStickersModelOnlyMusic){
|
|
|
+ // - 1:跳跃卡点,2:快慢速,3:仅配乐
|
|
|
+ if syncedUpVideoType == .createStickersModelOnlyMusic {
|
|
|
eventTrackDic["syncedUpVideoType"] = "3"
|
|
|
- }else if(syncedUpVideoType == .createStickersModelPoint){
|
|
|
+ } else if syncedUpVideoType == .createStickersModelPoint {
|
|
|
eventTrackDic["syncedUpVideoType"] = "1"
|
|
|
- }else if(syncedUpVideoType == .createStickersModelSpeed){
|
|
|
+ } else if syncedUpVideoType == .createStickersModelSpeed {
|
|
|
eventTrackDic["syncedUpVideoType"] = "2"
|
|
|
eventTrackDic["syncedUpVideoSpeed"] = "[\(syncedUpVideoSpeedMax),\(syncedUpVideoSpeedMin)]"
|
|
|
}
|