refactor(frontend): 重构前端第二版
This commit is contained in:
1 parent
2631f78b00
commit
4b562cfa82
205 files changed
+15399
-12015
No files matched your search
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"generic": "Request failed.",
|
||||
"codes": {
|
||||
"AUTH_UNAUTHORIZED": "Please log in first.",
|
||||
"AUTH_INCORRECT_PASSWORD": "Incorrect password",
|
||||
"AUTH_INCORRECT_CURRENT_PASSWORD": "Incorrect current password",
|
||||
"AUTH_USER_NOT_FOUND": "User not found",
|
||||
"AUTH_ACCOUNT_DISABLED": "Account is disabled",
|
||||
"AUTH_FORBIDDEN": "You do not have permission to perform this action.",
|
||||
"RESOURCE_NOT_FOUND": "The requested resource was not found.",
|
||||
"RESOURCE_CONFLICT": "Request conflict. Please refresh and try again.",
|
||||
"VALIDATION_INVALID_PARAM": "Invalid request parameters.",
|
||||
"USER_USERNAME_REQUIRED": "Username is required.",
|
||||
"USER_USERNAME_EXISTS": "Username already exists.",
|
||||
"USER_EMAIL_INVALID": "Invalid email format.",
|
||||
"USER_EMAIL_EXISTS": "Email already exists.",
|
||||
"USER_EMPLOYEE_ID_EXISTS": "Employee ID already exists.",
|
||||
"USER_PHONE_EXISTS": "Phone number already exists.",
|
||||
"USER_UNIQUENESS_CONFLICT": "Data uniqueness conflict.",
|
||||
"SYSTEM_INTERNAL_ERROR": "Internal server error. Please try again later.",
|
||||
"SYSTEM_HTTP_ERROR": "Request failed."
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user