You've already forked FrameTour-BE
修改
This commit is contained in:
@@ -17,6 +17,7 @@ import com.ycwl.basic.repository.TemplateRepository;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.apache.commons.lang3.StringUtils;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.context.annotation.Profile;
|
||||
import org.springframework.scheduling.annotation.EnableScheduling;
|
||||
import org.springframework.scheduling.annotation.Scheduled;
|
||||
import org.springframework.stereotype.Component;
|
||||
@@ -28,6 +29,7 @@ import java.util.Map;
|
||||
@Component
|
||||
@EnableScheduling
|
||||
@Slf4j
|
||||
@Profile("prod")
|
||||
public class DownloadNotificationTasker {
|
||||
@Autowired
|
||||
private ScenicRepository scenicRepository;
|
||||
|
Reference in New Issue
Block a user