You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
580 B
34 lines
580 B
|
|
using System;
|
|
|
|
namespace Jd.Api.Request
|
|
{
|
|
/// <summary>
|
|
/// Jd请求接口。
|
|
/// </summary>
|
|
public interface IJdRequest<T> where T : JdResponse
|
|
{
|
|
/// <summary>
|
|
/// 获取Jd的API名称。
|
|
/// </summary>
|
|
/// <returns>API名称</returns>
|
|
String ApiName
|
|
{
|
|
get;
|
|
}
|
|
|
|
String ApiVersion
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
|
|
String GetParamJson();
|
|
|
|
/// <summary>
|
|
/// 提前验证参数。
|
|
/// </summary>
|
|
void Validate();
|
|
}
|
|
}
|
|
|