1 parent bfbfb89 commit f5359d0Copy full SHA for f5359d0
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