zhaojs
2023-09-15 fc13938ff90213060532d99a600dea4a84456885
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
39
40
41
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
 
namespace YouZanSDKStandard.Api.Request
{
    public interface IRequest<T> where T : YouZanResponse
    {
        /// <summary>
        /// 获得Api名称
        /// </summary>
        /// <returns></returns>
        string GetApiName();
 
        /// <summary>
        /// 获得Api版本
        /// </summary>
        /// <returns></returns>
        string GetApiVersion();
 
        /// <summary>
        /// 获得接口的参数
        /// </summary>
        /// <returns></returns>
        IDictionary<string, object> GetParameters();
 
     
 
        /// <summary>
        /// 验证
        /// </summary>
        void Validate();
 
        /// <summary>
        /// 接口对象返回的json的前缀字符串
        /// </summary>
        /// <returns></returns>
        string ResponseJsonPrefix(string strRet);
    }
}