修改验证配置
This commit is contained in:
@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
@FeignClient(url = "${mse-in.url.dms}", contextId = "customerbusiness", value = "customerbusinessClient", path = "/2b/cyxdms.customerbusiness")
|
||||
@FeignClient(url = "${mse-in.url.dms}", contextId = "customerbusiness", value = "customerbusinessClient", path = "/api/2b/cyxdms.customerbusiness")
|
||||
public interface CompetingBrandsClient {
|
||||
|
||||
@PostMapping(name = "查询竞品车型", path = "/failModel/getBrand")
|
||||
|
||||
@@ -51,8 +51,8 @@ public class EGEventSubscriptionController {
|
||||
* 发布事件到事件通道
|
||||
*/
|
||||
@PostMapping("/sendEvent")
|
||||
public ResultDTO<PutEventsResponse> sendEvent(@RequestBody CloudEvents req, @RequestParam("channel") String channel) throws ExecutionException {
|
||||
return ResultDTO.success(huaWeiService.sendEvent(req, "channel"));
|
||||
public ResultDTO<PutEventsResponse> sendEvent(@RequestBody CloudEvents req) throws ExecutionException {
|
||||
return ResultDTO.success(huaWeiService.sendEvent(req));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -31,9 +31,9 @@ public class HuaWeiEGService {
|
||||
* @param event event
|
||||
* @param channel channel
|
||||
*/
|
||||
public PutEventsResponse sendEvent(CloudEvents event, String channel) {
|
||||
public PutEventsResponse sendEvent(CloudEvents event) {
|
||||
PutEventsRequest request = new PutEventsRequest();
|
||||
request.withChannelId(channel);
|
||||
request.withChannelId("dd6be530-8d13-4e2b-8f41-43489c255ba1");
|
||||
|
||||
List<CloudEvents> eventsList = new ArrayList<>();
|
||||
eventsList.add(event);
|
||||
|
||||
@@ -39,13 +39,13 @@ public class CorpusPortraitServiceImpl implements CorpusPortraitService {
|
||||
@Autowired
|
||||
TmTelephoneCorpusService tmTelephoneCorpusService;
|
||||
|
||||
@Value("${dify.corpus.portrait.dccToken}")
|
||||
// @Value("${dify.corpus.portrait.dccToken}")
|
||||
private String dccToken;
|
||||
|
||||
@Value("${dify.corpus.portrait.qiweiToken}")
|
||||
// @Value("${dify.corpus.portrait.qiweiToken}")
|
||||
private String qiweiToken;
|
||||
|
||||
@Value("${dify.corpus.portrait.nameplateToken}")
|
||||
// @Value("${dify.corpus.portrait.nameplateToken}")
|
||||
private String nameplateAppKey;
|
||||
@Autowired
|
||||
private DataMaskingRuleService dataMaskingRuleService;
|
||||
|
||||
Reference in New Issue
Block a user