mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 15:18:56 +03:30
commit
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
class Url {
|
||||
static const String baseUrl = 'https://www.cssd-doc.com/api';
|
||||
|
||||
static const String login = '$baseUrl/login';
|
||||
|
||||
static const String getInputs = '$baseUrl/GetInputs';
|
||||
|
||||
static const String getUserInfo = '$baseUrl/GetInfo';
|
||||
|
||||
// static const String testResults = '$baseUrl/TestResults';
|
||||
|
||||
static const String filterItems = '$baseUrl/TestResults/ListFilterItems';
|
||||
|
||||
static const String labelItems = '$baseUrl/GetLabels';
|
||||
|
||||
static const String packageItems = '$baseUrl/GetPackages';
|
||||
|
||||
static String testResults(int id) {
|
||||
return '$baseUrl/TestResults?page=$id';
|
||||
}
|
||||
|
||||
static String labelResults(int id) {
|
||||
return '$baseUrl/Labels?page=$id';
|
||||
}
|
||||
|
||||
static String cycleResults(int id) {
|
||||
return '$baseUrl/Cycles?page=$id';
|
||||
}
|
||||
// static const String cycleResults = '$baseUrl/Cycles';
|
||||
|
||||
static String verifyTest(int id) {
|
||||
return '$baseUrl/TestResults/Verify/$id';
|
||||
}
|
||||
|
||||
static String testResultFormValues(String id) {
|
||||
return '$baseUrl/TestResults/$id/edit';
|
||||
}
|
||||
|
||||
static String updateTestResult(String id) {
|
||||
return '$baseUrl/TestResults/$id';
|
||||
}
|
||||
|
||||
static const String createTestResult = '$baseUrl/TestResults';
|
||||
|
||||
static const String createCycleResult = '$baseUrl/Cycles';
|
||||
|
||||
static const String createLabelResult = '$baseUrl/Labels';
|
||||
|
||||
|
||||
static String getTestResult(String id) {
|
||||
return '$baseUrl/TestResults/$id';
|
||||
}
|
||||
|
||||
static String getLabelResult(String id) {
|
||||
return '$baseUrl/Labels/$id';
|
||||
}
|
||||
|
||||
static String getCycleResult(String id) {
|
||||
return '$baseUrl/Cycles/$id';
|
||||
}
|
||||
|
||||
static String removeTestResult(String id) {
|
||||
return '$baseUrl/TestResults/$id';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user