You've already forked FrameTour-BE
仅在正式服上运行
This commit is contained in:
@ -12,6 +12,7 @@ import com.ycwl.basic.model.pc.scenicDeviceStats.entity.ScenicDeviceStatsEntity;
|
||||
import com.ycwl.basic.service.mobile.AppStatisticsService;
|
||||
import com.ycwl.basic.utils.ApiResponse;
|
||||
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;
|
||||
@ -21,6 +22,7 @@ import java.util.List;
|
||||
|
||||
@Component
|
||||
@EnableScheduling
|
||||
@Profile("prod")
|
||||
public class ScenicStatsTask {
|
||||
@Autowired
|
||||
private ScenicDeviceStatsMapper mapper;
|
||||
|
Reference in New Issue
Block a user