TASK:mixi;

This commit is contained in:
shahaibo
2024-05-08 11:49:50 +08:00
parent 46f31092bc
commit 1fefa85e5a
2 changed files with 2079 additions and 2076 deletions

View File

@@ -464,6 +464,9 @@ public class TAppProductService extends ServiceImpl<TProductMapper, TProduct> {
} else { } else {
throw new BusinessException("substring exception."); throw new BusinessException("substring exception.");
} }
if (result.contains("%20")) {
result = result.replace("%20", " ");
}
//商品排行 //商品排行
List<TProduct> tProducts = pythonService.similarityMatch(result); List<TProduct> tProducts = pythonService.similarityMatch(result);
if(CollectionUtils.isEmpty(tProducts)){ if(CollectionUtils.isEmpty(tProducts)){