fix: 修改特效subtitlePosition和duration字段,拆分为subtitlePositionX/Y和durationStart/End
This commit is contained in:
parent
94c71b10e4
commit
a7d65ca240
|
|
@ -82,9 +82,14 @@ public class Effect extends BaseDO {
|
|||
private String subtitleStyle;
|
||||
|
||||
/**
|
||||
* 字幕中心位置({x, y})
|
||||
* 字幕中心位置X坐标
|
||||
*/
|
||||
private String subtitlePosition;
|
||||
private String subtitlePositionX;
|
||||
|
||||
/**
|
||||
* 字幕中心位置Y坐标
|
||||
*/
|
||||
private String subtitlePositionY;
|
||||
|
||||
/**
|
||||
* 特效开始偏移时间(秒)
|
||||
|
|
@ -92,9 +97,14 @@ public class Effect extends BaseDO {
|
|||
private Double offset;
|
||||
|
||||
/**
|
||||
* 特效播放时间段({"start": x, "end": y})
|
||||
* 特效播放开始时间
|
||||
*/
|
||||
private String duration;
|
||||
private String durationStart;
|
||||
|
||||
/**
|
||||
* 特效播放结束时间
|
||||
*/
|
||||
private String durationEnd;
|
||||
|
||||
/**
|
||||
* 渲染层级(Z轴顺序)
|
||||
|
|
|
|||
|
|
@ -75,9 +75,14 @@ public class EffectReq extends BaseReq {
|
|||
private String subtitleStyle;
|
||||
|
||||
/**
|
||||
* 字幕中心位置({x, y})
|
||||
* 字幕中心位置X坐标
|
||||
*/
|
||||
private String subtitlePosition;
|
||||
private String subtitlePositionX;
|
||||
|
||||
/**
|
||||
* 字幕中心位置Y坐标
|
||||
*/
|
||||
private String subtitlePositionY;
|
||||
|
||||
/**
|
||||
* 特效开始偏移时间(秒)
|
||||
|
|
@ -85,9 +90,14 @@ public class EffectReq extends BaseReq {
|
|||
private Double offset;
|
||||
|
||||
/**
|
||||
* 特效播放时间段({"start": x, "end": y})
|
||||
* 特效播放开始时间
|
||||
*/
|
||||
private String duration;
|
||||
private String durationStart;
|
||||
|
||||
/**
|
||||
* 特效播放结束时间
|
||||
*/
|
||||
private String durationEnd;
|
||||
|
||||
/**
|
||||
* 渲染层级(Z轴顺序)
|
||||
|
|
|
|||
|
|
@ -80,9 +80,14 @@ public class EffectDetailResp extends BaseResp {
|
|||
private String subtitleStyle;
|
||||
|
||||
/**
|
||||
* 字幕中心位置({x, y})
|
||||
* 字幕中心位置X坐标
|
||||
*/
|
||||
private String subtitlePosition;
|
||||
private String subtitlePositionX;
|
||||
|
||||
/**
|
||||
* 字幕中心位置Y坐标
|
||||
*/
|
||||
private String subtitlePositionY;
|
||||
|
||||
/**
|
||||
* 特效开始偏移时间(秒)
|
||||
|
|
@ -90,9 +95,14 @@ public class EffectDetailResp extends BaseResp {
|
|||
private Double offset;
|
||||
|
||||
/**
|
||||
* 特效播放时间段({"start": x, "end": y})
|
||||
* 特效播放开始时间
|
||||
*/
|
||||
private String duration;
|
||||
private String durationStart;
|
||||
|
||||
/**
|
||||
* 特效播放结束时间
|
||||
*/
|
||||
private String durationEnd;
|
||||
|
||||
/**
|
||||
* 渲染层级(Z轴顺序)
|
||||
|
|
|
|||
|
|
@ -80,9 +80,14 @@ public class EffectResp extends BaseResp {
|
|||
private String subtitleStyle;
|
||||
|
||||
/**
|
||||
* 字幕中心位置({x, y})
|
||||
* 字幕中心位置X坐标
|
||||
*/
|
||||
private String subtitlePosition;
|
||||
private String subtitlePositionX;
|
||||
|
||||
/**
|
||||
* 字幕中心位置Y坐标
|
||||
*/
|
||||
private String subtitlePositionY;
|
||||
|
||||
/**
|
||||
* 特效开始偏移时间(秒)
|
||||
|
|
@ -90,9 +95,14 @@ public class EffectResp extends BaseResp {
|
|||
private Double offset;
|
||||
|
||||
/**
|
||||
* 特效播放时间段({"start": x, "end": y})
|
||||
* 特效播放开始时间
|
||||
*/
|
||||
private String duration;
|
||||
private String durationStart;
|
||||
|
||||
/**
|
||||
* 特效播放结束时间
|
||||
*/
|
||||
private String durationEnd;
|
||||
|
||||
/**
|
||||
* 渲染层级(Z轴顺序)
|
||||
|
|
|
|||
Loading…
Reference in New Issue