mirror of
https://gitlab.com/Hukuta47/cartrix.git
synced 2026-12-05 12:30:55 +00:00
Сделал маршрут для получения N дней для получения распечаток в день
This commit is contained in:
1 parent
dad8b27322
commit
cf5ea0861b
13 files changed
+58
-9
No files matched your search
@@ -4,11 +4,12 @@ namespace CartriX.Shared.Classes
|
||||
{
|
||||
public class ApiRoutes
|
||||
{
|
||||
static string baseUrl = "http://192.168.140.13:5000/api";
|
||||
static string baseUrl = "http://192.168.0.26:5000/api";
|
||||
static public class Report
|
||||
{
|
||||
public static string ListCausesForReplace => $"{baseUrl}/{nameof(Report)}/{nameof(ListCausesForReplace)}";
|
||||
public static string CreateRequestForReplace => $"{baseUrl}/{nameof(Report)}/{nameof(CreateRequestForReplace)}";
|
||||
public static string GetRecordPrintAtSeletedDays(int Days) => $"{baseUrl}/{nameof(Report)}/{nameof(GetRecordPrintAtSeletedDays)}?{nameof(Days)}={Days}";
|
||||
}
|
||||
public static class Network
|
||||
{
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace CartriX.Shared.Models.Report
|
||||
{
|
||||
public class RecordPrintedPagesItem
|
||||
{
|
||||
public DateOnly Date { get; set; }
|
||||
public int PrinterId { get; set; }
|
||||
public int CounntPrinted { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user