diff --git a/src/main/java/com/titi/titi_user/common/TiTiUserBusinessCodes.java b/src/main/java/com/titi/titi_user/common/TiTiUserBusinessCodes.java index ad4c6f4..62f30df 100644 --- a/src/main/java/com/titi/titi_user/common/TiTiUserBusinessCodes.java +++ b/src/main/java/com/titi/titi_user/common/TiTiUserBusinessCodes.java @@ -8,13 +8,14 @@ public enum TiTiUserBusinessCodes { REGISTER_MEMBER_SUCCESS(200, "USR1002", "Successfully completed the regular membership registration."), - REGISTER_MEMBER_FAILURE_INVALID_AUTH_TOKEN(200, "USR1003", "The registration has failed due to an invalid Auth Token."), REGISTER_MEMBER_FAILURE_ALREADY_EXISTS_USERNAME(200, "USR1004", "The registration has failed as the username already exists."), LOGIN_SUCCESS(200, "USR1005", "You have successfully logged in"), LOGIN_FAILURE_MISMATCHED_MEMBER_INFORMATION(200, "USR1006", "Login failed due to mismatched member information."), AUTH_KEY_MISMATCHED_REGISTRATION_INFORMATION(400, "USR7000", "The authentication key does not match the registration information."), - UNAVAILABLE_USERNAME(400, "USR7001", "The username is unavailable."), + UNAVAILABLE_USERNAME(400, "USR7001", "The registration has failed due to the username is unavailable."), + REGISTER_MEMBER_FAILURE_INVALID_AUTH_TOKEN(400, "USR7002", "The registration has failed due to the invalid Auth Token."), + ; private final int status;