Ejemplo n.º 1
0
 /// <summary>
 /// 调用接口
 /// </summary>
 /// <typeparam name="R">返回类型</typeparam>
 /// <param name="data">参数</param>
 /// <param name="url">接口地址</param>
 /// <returns>R</returns>
 public override VerifResp <R> InvokeMethodReq <R>(string data, string url)
 {
     return(InvokeInterface.InvokeMethodReq <R>(data, url));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 调用接口
 /// </summary>
 /// <typeparam name="R">返回类型</typeparam>
 /// <typeparam name="T">参数类型</typeparam>
 /// <param name="model">参数</param>
 /// <param name="url">接口地址</param>
 /// <param name="version">请求接口版本号</param>
 /// <param name="appName">应用程序名称</param>
 /// <returns>R</returns>
 public override R InvokeMethodReq <R, T>(T model, string url, string version, string appName)
 {
     return(InvokeInterface.InvokeMethodReq <R, T>(model, url, version, appName));
 }