package com.live.jdbc.dao;

import com.live.jdbc.entity.ApiInfo;
import com.live.jdbc.entity.UserInfo;

import java.util.List;

/**
 * @Auther: pdd
 * @Date: 2021/04/27/16:12
 * @Description: 获取数据信息
 */
public interface DataDao {
    /**
     * @param userName
     * @Description: 获取登录账号信息
     * @Author: pdd
     * @Date: 2021/4/27/16:09
     */
    UserInfo getUserInfo(String userName, String env);

    List<UserInfo> getUserInfos(String userType, String env);

    /**
     * @param apiModule
     * @param apiName
     * @Description: 获取测试接口信息
     * @Author: pdd
     * @Date: 2021/4/27/16:34
     */
    ApiInfo getApiInfo(String apiModule, String apiName);

}
