| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- use App\Constants\HttpStatus;
- return [
- HttpStatus::CUSTOM_ERROR => '',
- HttpStatus::UNKNOWN_ERROR => 'Unknown error.',
- HttpStatus::OK => 'OK',
- HttpStatus::USER_DOES_NOT_EXIST => "User does not exist.",
- HttpStatus::PASSWORDS_ERROR => "Password error",
- HttpStatus::VERIFICATION_CODE_ERROR => 'Verification code error.',
- HttpStatus::VERIFICATION_CODE_EXPIRED => 'The verification code has expired.',
- HttpStatus::PASSWORD_INCONSISTENCY => 'Password inconsistency.',
- HttpStatus::USERNAME_ALREADY_EXISTS => 'The user name already exists. Please log in directly.',
- HttpStatus::EMAIL_ALREADY_EXISTS => 'Email already exists, please login directly.',
- HttpStatus::USERNAME_ERROR => 'User name error.',
- HttpStatus::VALIDATION_FAILED => 'Parameter validation failure.',
- HttpStatus::SYSTEM_ERROR => 'System error.',
- HttpStatus::AUTHORIZATION_HEADER_NOT_FOUND => 'Please log in.',
- HttpStatus::NO_COLLECT_YOURSELF => "Don't collect yourself.",
- HttpStatus::NO_BASIC_INFO => 'Please fill in the basic information first.',
- HttpStatus::NOT_FOUND => 'Not Found.',
- HttpStatus::AVATAR_MUST_SQUARE => 'Please crop the picture and upload it again.',
- HttpStatus::PAIRING_FAILURE => 'Pairing failure.',
- HttpStatus::COLLECT_COUNT_REACH_MAX => 'The number of collectibles reached the maximum.',
- HttpStatus::SEND_CODE_ERROR => 'Send failure',
- HttpStatus::PHONE_ERROR => 'The phone number is incorrect',
- HttpStatus::POST_DOES_NOT_EXIST => 'Post does not exist',
- HttpStatus::FILE_UPLOAD_ERROR => 'File upload error.',
- HttpStatus::INVITATION_CODE_ERROR => "Invitation code error.",
- HttpStatus::USER_ANOTHER_DEVICE => "The user has logged in to another device.",
- HttpStatus::INSUFFICIENT => "The remaining times are insufficient.",
- HttpStatus::MAXIMUM_NUMBER_OF_ADDRESSES => 'A maximum of 10 addresses can be added.',
- HttpStatus::HTTP_POST_ERROR => 'HTTP Post error.',
- HttpStatus::IM_ERROR => 'Im error',
- HttpStatus::PHONE_ALREADY_EXISTS => 'Phone number already exists, please login directly.',
- HttpStatus::GOOGLE_ERROR => 'Google login error.',
- HttpStatus::INSUFFICIENT_CHAT_BALANCE => 'Insufficient chat balance',
- HttpStatus::INSUFFICIENT_WALLET => 'Insufficient wallet balance',
- HttpStatus::FACEBOOK_ERROR => 'Facebook error',
- HttpStatus::VERIFY_ERROR => 'Verification failure',
- HttpStatus::PAY_VERIFY_ERROR => 'PAY_VERIFY_ERROR',
- HttpStatus::IM_SYSTEM_ERROR => 'Im system error',
- 'ok' => 'ok',
- ];
|