You've already forked FrameTour-BE
获取人脸对应视频流程,自动删除源视频流程,自动创建任务渲染流程,自动删除人脸数据逻辑
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
package com.ycwl.basic.device.enums;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum DeviceStoreTypeEnum {
|
||||
ALI_OSS(1, "阿里云OSS"),
|
||||
LOCAL(2, "本地文件");
|
||||
|
||||
private final int type;
|
||||
private final String remark;
|
||||
|
||||
public static DeviceStoreTypeEnum getByType(int type) {
|
||||
for (DeviceStoreTypeEnum e : values()) {
|
||||
if (e.type == type) {
|
||||
return e;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user