feat(api): Fixed an issue where relationship searches were abnormal a… #730
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
修复CITYP别名更改后,关系搜索异常的问题。
异常原因:关系搜索使用到了ci缓存中的别名字段,现有代码在别名更新后没有刷新ci缓存,导致关系搜索拼接数据时异常。
修复方式:
实际上更好的做法,可能是将不再将相关信息存入到CI的缓存中,或者关系搜索模块不再引用该字段,避免出现全量刷新CI的情况,实现相对复杂且需要考虑其他模块是否有使用,建议先修复,后续优化请@pycook 综合考虑一下。

修复截图: