package com.xingxi.web.controller.master.ipInfo.service.impl;

import com.xingxi.web.controller.master.ipInfo.domain.IpInfoVo;
import com.xingxi.web.controller.master.ipInfo.mapper.IpInfoVoMapper;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 商品共通Service
 *
 * @author xingxi
 * @date 2025-03-06
 */
@Component("ipInfo")
public class IpInfoCommonService {
    private final IpInfoVoMapper ipInfoVoMapper;

    public IpInfoCommonService(IpInfoVoMapper ipInfoVoMapper) {
        this.ipInfoVoMapper = ipInfoVoMapper;
    }

    public List<IpInfoVo> getIpInfos(){
        return ipInfoVoMapper.selectIpInfos();
    }
}
