去除mock
This commit is contained in:
@@ -22,8 +22,6 @@ import org.apache.rocketmq.spring.core.RocketMQTemplate;
|
|||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.stereotype.Component;
|
import org.springframework.stereotype.Component;
|
||||||
import org.springframework.web.bind.annotation.GetMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
@@ -34,7 +32,6 @@ import java.util.Map;
|
|||||||
|
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Component
|
@Component
|
||||||
@RestController
|
|
||||||
public class CorpusFailJob {
|
public class CorpusFailJob {
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
@@ -64,7 +61,6 @@ public class CorpusFailJob {
|
|||||||
* 企微语料处理
|
* 企微语料处理
|
||||||
*/
|
*/
|
||||||
@XxlJob("corpusFailTask")
|
@XxlJob("corpusFailTask")
|
||||||
@GetMapping("corpusFailTask")
|
|
||||||
public void corpusFailTask() {
|
public void corpusFailTask() {
|
||||||
|
|
||||||
log.info("语料解析失败重试处理");
|
log.info("语料解析失败重试处理");
|
||||||
|
|||||||
Reference in New Issue
Block a user