Skip to content

Commit c264935

Browse files
committed
bugfix: cms recommend
1 parent acef1c9 commit c264935

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

module/Cms/Helpers/MCms.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -635,8 +635,7 @@ public static function randomContentByCat($catId, $limit = 10)
635635
*/
636636
public static function recommendContentByModel($modelId, $limit = 10)
637637
{
638-
$contentIds = RecommendProvider::randomItemBizIds(
639-
CmsRecommendBiz::NAME,
638+
$contentIds = CmsRecommendBiz::randomItemIds(
640639
\Module\Member\Auth\MemberUser::id(),
641640
$limit,
642641
[$modelId]

0 commit comments

Comments
 (0)