格式化返回结果
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
package com.volvo.ai.analytic.center.job;
|
|
||||||
|
|
||||||
import com.volvo.ai.analytic.center.service.IntelligentCustomerService;
|
|
||||||
import com.volvo.common.core.util.ResultMsg;
|
|
||||||
import com.xxl.job.core.handler.annotation.XxlJob;
|
|
||||||
import lombok.extern.slf4j.Slf4j;
|
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
|
|
||||||
@Slf4j
|
|
||||||
@Component
|
|
||||||
@RestController
|
|
||||||
public class CommonsJob {
|
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private IntelligentCustomerService intelligentCustomerService;
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 企微语料处理
|
|
||||||
*/
|
|
||||||
@XxlJob("reflushTcIntelligentCustomer")
|
|
||||||
public ResultMsg reflushTcIntelligentCustomer() {
|
|
||||||
intelligentCustomerService.queryTcIntelligentCustomer();
|
|
||||||
return ResultMsg.ok();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user