Exemplo n.º 1
0
 public BasicResponse <List <PowerboxchargehistoryInfo> > GetPowerboxchargehistoryByStime(Request.Powerboxchargehistory.PowerboxchargehistoryGetByStimeRequest powerboxchargehistoryRequest)
 {
     return(_IPowerboxchargehistoryService.GetPowerboxchargehistoryByStime(powerboxchargehistoryRequest));
 }
        public BasicResponse <List <PowerboxchargehistoryInfo> > GetPowerboxchargehistoryByStime(Request.Powerboxchargehistory.PowerboxchargehistoryGetByStimeRequest powerboxchargehistoryRequest)
        {
            var responseStr = HttpClientHelper.Post(Webapi + "/v1/Powerboxchargehistory/GetPowerboxchargehistoryByStime?token=" + Token, JSONHelper.ToJSONString(powerboxchargehistoryRequest));

            return(JSONHelper.ParseJSONString <BasicResponse <List <PowerboxchargehistoryInfo> > >(responseStr));
        }