예제 #1
0
 private Result AnsyRequest(RestRequest rest, ExtendParams restExtendParams, string fullpath)
 {
     try
     {
         RestBag rrest = new RestBag();
         rrest.extendParms = restExtendParams;
         rrest.req         = rest;
         rrest.uri         = fullpath;
         Result r = RequestProvider.AnsyRequest(rrest);
         return(r);
     }
     finally
     {
     }
 }
예제 #2
0
 /// <summary>
 /// 请求下载的数据
 /// </summary>
 /// <returns>返回最终的Result</returns>
 public Result FileDownLoad(string jsonResult, string uriPath)
 {
     RouteName = uriPath;
     return(RequestProvider.FileDownLoad(jsonResult, this.ApiUr));
 }