|
@@ -5,7 +5,6 @@ import com.gyee.runeconomy.dto.R;
|
|
|
import com.gyee.runeconomy.service.analysis.AnalysisNewService;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import io.swagger.annotations.ApiOperation;
|
|
|
-import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
@@ -22,7 +21,7 @@ public class AnalysisNewController {
|
|
|
@Resource
|
|
|
private AnalysisNewService analysisNewService;
|
|
|
|
|
|
- @Scheduled(cron = "0 15 0 * * ?")
|
|
|
+// @Scheduled(cron = "0 15 0 * * ?")
|
|
|
@GetMapping(value = "/companys")
|
|
|
@ApiOperation(value = "公司列表", notes = "公司列表")
|
|
|
public R companys() throws Exception {
|
|
@@ -31,7 +30,7 @@ public class AnalysisNewController {
|
|
|
return null;
|
|
|
}
|
|
|
|
|
|
- @Scheduled(cron = "0 30 0 * * ?")
|
|
|
+// @Scheduled(cron = "0 30 0 * * ?")
|
|
|
@GetMapping(value = "/can")
|
|
|
@ApiOperation(value = "公司列表", notes = "公司列表")
|
|
|
public R cans() throws Exception {
|