| | |
| | | import com.baomidou.mybatisplus.service.impl.ServiceImpl; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | @Service("apiConfigService") |
| | | public class ApiConfigServiceImpl extends ServiceImpl<ApiConfigMapper, ApiConfig> implements ApiConfigService { |
| | | |
| | |
| | | public ApiConfig selectByUrl(String url) { |
| | | return this.baseMapper.selectByUrl(url); |
| | | } |
| | | |
| | | @Override |
| | | public List<ApiConfig> selectApiConfigList(Integer curr, Integer limit) { |
| | | return this.baseMapper.selectApiConfigList(null,null,curr, limit); |
| | | } |
| | | |
| | | @Override |
| | | public List<ApiConfig> selectApiConfigList(Long id,String url,Integer curr, Integer limit) { |
| | | return this.baseMapper.selectApiConfigList(id,url, curr, limit); |
| | | } |
| | | |
| | | @Override |
| | | public Long selectApiConfigListTotal(Long id,String url) { |
| | | return this.baseMapper.selectApiConfigListTotal(id,url); |
| | | } |
| | | } |