From da9139b7bab95f6e5ba5f4bb2d99011c2d6db03a Mon Sep 17 00:00:00 2001 From: crupest Date: Wed, 23 Mar 2022 21:30:14 +0800 Subject: … MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BackEnd/Timeline/ErrorCodes.cs | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'BackEnd/Timeline/ErrorCodes.cs') diff --git a/BackEnd/Timeline/ErrorCodes.cs b/BackEnd/Timeline/ErrorCodes.cs index be532c0c..9201979f 100644 --- a/BackEnd/Timeline/ErrorCodes.cs +++ b/BackEnd/Timeline/ErrorCodes.cs @@ -29,10 +29,7 @@ public static class Token { public const int TimeExpired = 1_000_21_01; - public const int VersionExpired = 1_000_21_02; - public const int BadFormat = 1_000_21_03; - public const int UserNotExist = 1_000_21_04; - public const int Unknown = 1_000_21_05; + public const int Invalid = 1_000_21_02; } } @@ -61,10 +58,8 @@ public static class TokenController { public const int CreateBadCredential = 1_101_01_01; - public const int VerifyBadFormat = 1_101_02_01; - public const int VerifyUserNotExist = 1_101_02_02; - public const int VerifyOldVersion = 1_101_02_03; - public const int VerifyTimeExpired = 1_101_02_04; + public const int VerifyInvalid = 1_101_02_02; + public const int VerifyExpired = 1_101_02_03; } public static class UserController -- cgit v1.2.3