mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-11 21:08:55 +03:30
82 lines
2.0 KiB
Dart
82 lines
2.0 KiB
Dart
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 const String requestResetPass = '$baseUrl/password/phone';
|
|
|
|
static const String verifyResetPass = '$baseUrl/password/verifyCode';
|
|
|
|
static const String sendResetPass = '$baseUrl/password/reset';
|
|
|
|
static const String addImage = '$baseUrl/UploadFile';
|
|
|
|
|
|
|
|
static String testResults(int id) {
|
|
return '$baseUrl/TestResults?page=$id';
|
|
}
|
|
|
|
static String testResultVerification(String id,String value) {
|
|
return '$baseUrl/TestResults/Verify/$id/$value';
|
|
}
|
|
|
|
static String labelResults(int id) {
|
|
return '$baseUrl/Labels?page=$id';
|
|
}
|
|
|
|
static String cycleResults(int id) {
|
|
return '$baseUrl/Cycles?page=$id';
|
|
}
|
|
|
|
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 updateLabelResult(String id) {
|
|
return '$baseUrl/Labels/$id';
|
|
}
|
|
|
|
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';
|
|
}
|
|
}
|