修改注解@Controller

This commit is contained in:
guoshengxiong 2025-10-31 10:58:15 +08:00
parent 6158e1cd5b
commit fa9533a3ad

View File

@ -16,7 +16,7 @@ import org.apache.commons.lang3.StringUtils;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value; import org.springframework.beans.factory.annotation.Value;
import org.springframework.scheduling.annotation.Scheduled; import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import java.util.*; import java.util.*;
@ -28,7 +28,7 @@ import java.util.*;
* @create: 2021-11-11 18:48 * @create: 2021-11-11 18:48
**/ **/
@Slf4j @Slf4j
@Component @Controller
@RequestMapping("/xmgl/task/") @RequestMapping("/xmgl/task/")
public class VideoTask { public class VideoTask {
@Autowired @Autowired