Browse Source

修改:销毁直播间定时任务

hgw 3 years ago
parent
commit
55a18f0f2a

+ 2 - 0
mec-task/src/main/java/com/ym/mec/task/jobs/DestroyExpiredLiveRoomTask.java

@@ -4,11 +4,13 @@ import com.ym.mec.task.TaskRemoteService;
 import com.ym.mec.task.core.BaseTask;
 import com.ym.mec.task.core.TaskException;
 import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
 
 /**
  * @author hgw
  * Created by 2022-03-04
  */
+@Service
 public class DestroyExpiredLiveRoomTask extends BaseTask {
 
     @Autowired