package cn.reghao.tnb.content.app.vod.rpc;

import cn.reghao.tnb.content.api.iface.AdminRecommendService;
import cn.reghao.tnb.content.app.vod.service.RecommendService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.stereotype.Service;

/**
 * @author reghao
 * @date 2025-04-01 14:35:44
 */
@DubboService
@Service
public class AdminRecommendServiceImpl implements AdminRecommendService {
    private final RecommendService recommendService;

    public AdminRecommendServiceImpl(RecommendService recommendService) {
        this.recommendService = recommendService;
    }

    public void emptyRecommendData() {
        long userId = -1L;
        recommendService.resetUserRcmd(userId);
    }
}
