Commit 7363e535 by 崔彦峰

fix(dubbo): 修复汽车品牌远程调用配置并优化汽车系列数据处理逻辑

- 移除 CarBrandRemote 配置中的版本号参数
- 添加 CollectionUtils 工具类用于集合判空检查
- 在遍历汽车系列数据时增加非空验证避免空指针异常
- 使用嵌套循环处理多层汽车信息结构确保数据完整性
- 优化 JSON 转换和数据映射过程提高性能
1 parent 9383a492
...@@ -79,6 +79,6 @@ public class DubboConfig { ...@@ -79,6 +79,6 @@ public class DubboConfig {
@Bean @Bean
public CarBrandRemote carBrandRemote() { public CarBrandRemote carBrandRemote() {
return factory.builder(CarBrandRemote.class).check(check).timeout(timeout).version("1.0.0").build(); return factory.builder(CarBrandRemote.class).check(check).timeout(timeout).build();
} }
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!