heyuntao
2023-05-04 fbd6a11a99051f425640bf352842f4a0ecaa7a4d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
using System;
using System.Collections.Generic;
using System.Text;
 
namespace AlibabaSDK.Api
{
    public interface IAlibabaApiRequest<T>
    {
        /// <summary>
        /// 获得Api名称
        /// </summary>
        /// <returns></returns>
        string GetApiName();
 
        /// <summary>
        /// 获得接口的参数
        /// </summary>
        /// <returns></returns>
        Dictionary<string, object> GetParameters();
 
        /// <summary>
        /// 验证
        /// </summary>
        void Validate();
 
        /// <summary>
        /// 接口对象返回的json的前缀字符串
        /// </summary>
        /// <returns></returns>
        //string ResponseJsonPrefix(string strRet);
 
        /// <summary>
        /// 错误数据返回
        /// </summary>
        /// <returns></returns>
        object ErrorObj();
    }
}