package com.ruoyi.web.modules.home.service.impl;

import java.util.Collections;
import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.web.modules.home.mapper.MemberShopFollowAppMapper;
import com.ruoyi.web.modules.home.service.IMemberShopFollowAppService;
import com.ruoyi.web.modules.home.vo.MemberShopFollowItemVO;

/**
 * C 端 · 我的店铺关注 Service 实现
 */
@Service
public class MemberShopFollowAppServiceImpl implements IMemberShopFollowAppService
{
    @Autowired
    private MemberShopFollowAppMapper memberShopFollowAppMapper;

    @Override
    public List<MemberShopFollowItemVO> listFollowShops(Long memberId)
    {
        List<MemberShopFollowItemVO> list = memberShopFollowAppMapper.selectFollowShopList(memberId);
        return list != null ? list : Collections.emptyList();
    }
}
