/// <summary>标签:请求,对象,TOP,领域,API,接口定义,TopResponse From: https://blog.51cto.com/u_15834343/5889911
/// TOP客户端。
/// </summary>
public interface ITopClient
{
/// <summary>
/// 执行TOP公开API请求。
/// </summary>
/// <typeparam name="T">领域对象</typeparam>
/// <param name="request">具体的TOP API请求</param>
/// <returns>领域对象</returns>
T Execute<T>(ITopRequest<T> request) where T : TopResponse; /// <summary>
/// 执行TOP隐私API请求。
/// </summary>
/// <typeparam name="T">领域对象</typeparam>
/// <param name="request">具体的TOP API请求</param>
/// <param name="session">用户会话码</param>
/// <returns>领域对象</returns>
T Execute<T>(ITopRequest<T> request, string session) where T : TopResponse;
}