Merge pull request #202 from yathoo88/develop_backend_yhs
[BE-template] Modify Template Recommend - Adjust template recommendation score #201
This commit is contained in:
@@ -386,7 +386,7 @@ export class TemplateService {
|
||||
const recommendScore = await this.calRecommendScore(item, widgetComponentInfo);
|
||||
item.recommendScore = recommendScore / scoreItemCnt;
|
||||
|
||||
item.totalRecommendScore = cntScore + recommendScore;
|
||||
item.totalRecommendScore = cntScore * 1.3 + recommendScore;
|
||||
}
|
||||
return templateComponentInfoList;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user