优化服务启动流程,修复后端配置组件名称和vue组件名称不一致无法缓存问题

This commit is contained in:
孟帅
2023-05-29 11:54:51 +08:00
parent b353728009
commit bfcbfe55c2
18 changed files with 290 additions and 272 deletions

View File

@@ -131,7 +131,7 @@ func GetLocation(ctx context.Context, ip string) (data *IpLocationData, err erro
}
if validate.IsLocalIPAddr(ip) {
return nil, fmt.Errorf("must be a public ip:%v", ip)
return // nil, fmt.Errorf("must be a public ip:%v", ip)
}
if cacheMap.Contains(ip) {