/// <summary> /// <see cref="IParkRecordService.GetRecordList(QueryParkRecordRequest)"/> /// </summary> public async Task <ListBaseResponse <ParkRecoreResponse> > GetRecordList(QueryParkRecordRequest model) { var data = await _parkingApi.AppendFormatToHik("/api/pms/v1/parkingRecord/query") .SetHiKSecreity() .PostAsync(model) .ReciveJsonResultAsync <HikVisionResponse <ListBaseResponse <ParkRecoreResponse> > >(); return(data?.Data); }
/// <summary> /// <see cref="IParkRecordService.GetRecordList(QueryParkRecordRequest)"/> /// </summary> public async Task <ListBaseResponse <ParkRecoreResponse> > GetRecordList(QueryParkRecordRequest model) { var data = await _hikHttp.PostAsync <HikVisionResponse <ListBaseResponse <ParkRecoreResponse> > >("/api/pms/v1/parkingRecord/query", model); return(data?.Data); }