修改验证配置

This commit is contained in:
zren25
2025-06-05 09:39:40 +08:00
parent c051332def
commit 684437e6c4
4 changed files with 8 additions and 8 deletions

View File

@@ -9,7 +9,7 @@ import org.springframework.web.bind.annotation.RequestParam;
import java.util.List; 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 { public interface CompetingBrandsClient {
@PostMapping(name = "查询竞品车型", path = "/failModel/getBrand") @PostMapping(name = "查询竞品车型", path = "/failModel/getBrand")

View File

@@ -51,8 +51,8 @@ public class EGEventSubscriptionController {
* 发布事件到事件通道 * 发布事件到事件通道
*/ */
@PostMapping("/sendEvent") @PostMapping("/sendEvent")
public ResultDTO<PutEventsResponse> sendEvent(@RequestBody CloudEvents req, @RequestParam("channel") String channel) throws ExecutionException { public ResultDTO<PutEventsResponse> sendEvent(@RequestBody CloudEvents req) throws ExecutionException {
return ResultDTO.success(huaWeiService.sendEvent(req, "channel")); return ResultDTO.success(huaWeiService.sendEvent(req));
} }
/** /**

View File

@@ -31,9 +31,9 @@ public class HuaWeiEGService {
* @param event event * @param event event
* @param channel channel * @param channel channel
*/ */
public PutEventsResponse sendEvent(CloudEvents event, String channel) { public PutEventsResponse sendEvent(CloudEvents event) {
PutEventsRequest request = new PutEventsRequest(); PutEventsRequest request = new PutEventsRequest();
request.withChannelId(channel); request.withChannelId("dd6be530-8d13-4e2b-8f41-43489c255ba1");
List<CloudEvents> eventsList = new ArrayList<>(); List<CloudEvents> eventsList = new ArrayList<>();
eventsList.add(event); eventsList.add(event);

View File

@@ -39,13 +39,13 @@ public class CorpusPortraitServiceImpl implements CorpusPortraitService {
@Autowired @Autowired
TmTelephoneCorpusService tmTelephoneCorpusService; TmTelephoneCorpusService tmTelephoneCorpusService;
@Value("${dify.corpus.portrait.dccToken}") // @Value("${dify.corpus.portrait.dccToken}")
private String dccToken; private String dccToken;
@Value("${dify.corpus.portrait.qiweiToken}") // @Value("${dify.corpus.portrait.qiweiToken}")
private String qiweiToken; private String qiweiToken;
@Value("${dify.corpus.portrait.nameplateToken}") // @Value("${dify.corpus.portrait.nameplateToken}")
private String nameplateAppKey; private String nameplateAppKey;
@Autowired @Autowired
private DataMaskingRuleService dataMaskingRuleService; private DataMaskingRuleService dataMaskingRuleService;