We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acef1c9 commit c264935Copy full SHA for c264935
1 file changed
module/Cms/Helpers/MCms.php
@@ -635,8 +635,7 @@ public static function randomContentByCat($catId, $limit = 10)
635
*/
636
public static function recommendContentByModel($modelId, $limit = 10)
637
{
638
- $contentIds = RecommendProvider::randomItemBizIds(
639
- CmsRecommendBiz::NAME,
+ $contentIds = CmsRecommendBiz::randomItemIds(
640
\Module\Member\Auth\MemberUser::id(),
641
$limit,
642
[$modelId]
0 commit comments