package com.iailab.module.data.channel.http.service;

import com.iailab.framework.common.pojo.PageResult;
import com.iailab.module.data.channel.http.entity.HttpApiEntity;
import com.iailab.module.data.channel.http.vo.HttpApiPageReqVO;

import java.util.List;

public interface HttpApiService{
    PageResult<HttpApiEntity> queryPage(HttpApiPageReqVO reqVO);

    HttpApiEntity info(String id);

    void add(HttpApiEntity httpApiEntity);

    void update(HttpApiEntity httpApiEntity);

    void delete(String id);

    HttpApiEntity getByCode(String code);

    HttpApiEntity getFromCatch(String id);

    List<HttpApiEntity> list();
}