package com.zbkj.service.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zbkj.common.model.product.ReviewTag;
import com.zbkj.service.dao.ReviewTagDao;
import com.zbkj.service.service.ReviewTagService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ReviewTagServiceImpl extends ServiceImpl<ReviewTagDao, ReviewTag> implements ReviewTagService {

    @Autowired ReviewTagDao dao;

    @Override
    public List<String> getReviewTagsByProductId(Integer productId) {
        return dao.getReviewTagsByProductId(productId);
    }
}
