You've already forked FrameTour-BE
refactor(task): 移除视频重新上传功能及相关依赖
- 删除 VideoReUploader 类及其相关注入依赖 - 移除 VideoReUploader 的调用逻辑 - 清理无用的导入语句及测试类文件 - 简化视频处理流程,去除冗余操作步骤
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
package com.ycwl.basic.utils;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.junit.Test;
|
||||
import org.junit.runner.RunWith;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.boot.test.context.SpringBootTest;
|
||||
import org.springframework.test.context.junit4.SpringRunner;
|
||||
|
||||
@Slf4j
|
||||
@SpringBootTest
|
||||
@RunWith(SpringRunner.class)
|
||||
public class VideoReUploaderTest {
|
||||
@Autowired
|
||||
private VideoReUploader videoReUploader;
|
||||
|
||||
@Test
|
||||
public void testReUpload() throws InterruptedException {
|
||||
videoReUploader.addTask(3975968518398152704L);
|
||||
Thread.sleep(1_000_000L);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user