提交 3ef1f2ab 作者: duanxincheng

生成纪要压测

父级 b855e0ea
......@@ -97,7 +97,7 @@ public class CmeetingJob {
}
// @Scheduled(fixedRate = 20 * 60 * 1000,initialDelay = 2 * 60 * 1000)
@Scheduled(fixedRate = 20 * 60 * 1000)
// @Scheduled(fixedRate = 20 * 60 * 1000)
public void execute() {
// 定义时间格式化器
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd HH:mm:ss");
......
package com.cmeeting.service.impl;
import com.cmeeting.service.StressTestService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
@Service
@Slf4j
public class StressTestServiceImpl implements StressTestService {
@Override
public void minutesGenerate() {
}
}
package com.cmeeting.controller;
package controller;
import com.cmeeting.service.StressTestService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import service.StressTestService;
import javax.annotation.Resource;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论