diff options
author | 杨宇千 <crupest@outlook.com> | 2019-08-04 15:02:58 +0800 |
---|---|---|
committer | 杨宇千 <crupest@outlook.com> | 2019-08-04 15:02:58 +0800 |
commit | 05f10e61506c4c9200a863d3f060a480d897f4d4 (patch) | |
tree | 6d1afc3dbe3b91122a1c95ace2aafee76967e230 /Timeline/Controllers/TokenController.cs | |
parent | 13f0a95397751783ac0b4dcfa4d8f1b7112de04c (diff) | |
download | timeline-05f10e61506c4c9200a863d3f060a480d897f4d4.tar.gz timeline-05f10e61506c4c9200a863d3f060a480d897f4d4.tar.bz2 timeline-05f10e61506c4c9200a863d3f060a480d897f4d4.zip |
Add unit tests for token.
Diffstat (limited to 'Timeline/Controllers/TokenController.cs')
-rw-r--r-- | Timeline/Controllers/TokenController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Timeline/Controllers/TokenController.cs b/Timeline/Controllers/TokenController.cs index f9dcfd76..66cf3dad 100644 --- a/Timeline/Controllers/TokenController.cs +++ b/Timeline/Controllers/TokenController.cs @@ -20,7 +20,7 @@ namespace Timeline.Controllers public const int VerifyFailed = 2001; } - private static class ErrorCodes + public static class ErrorCodes { public const int Create_UserNotExist = -1001; public const int Create_BadPassword = -1002; |