Commit 64e0f480 authored by duanruiming's avatar duanruiming

[update] 优化服务接口名称问题

parent bb3e1e56
...@@ -36,7 +36,7 @@ public class UtcFeignClientCache implements CommandLineRunner { ...@@ -36,7 +36,7 @@ public class UtcFeignClientCache implements CommandLineRunner {
String feignName = item.getKey(); String feignName = item.getKey();
FeignCommon utcFeignClientService = item.getValue(); FeignCommon utcFeignClientService = item.getValue();
for (BaseEnum.VendorTypeEnum value : BaseEnum.VendorTypeEnum.values()) { for (BaseEnum.VendorTypeEnum value : BaseEnum.VendorTypeEnum.values()) {
if (feignName.contains(value.getNick())) { if (feignName.toUpperCase().contains(value.getNick())) {
utcFeignClientsMap.put(value.getNick(), utcFeignClientService); utcFeignClientsMap.put(value.getNick(), utcFeignClientService);
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment