格式化返回结果

This commit is contained in:
zren25
2025-04-11 15:47:27 +08:00
parent 0cbab38651
commit 304a26daab

View File

@@ -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();
}
}