|
|
@@ -7,7 +7,14 @@ package com.zheng.upms.common.constant;
|
|
|
public enum UpmsResultConstant {
|
|
|
|
|
|
SUCCESS(1, "success"),
|
|
|
- INVALID_LENGTH(10001, "Invalid length");
|
|
|
+
|
|
|
+ INVALID_LENGTH(10001, "Invalid length"),
|
|
|
+
|
|
|
+ EMPTY_USERNAME(10101, "Username cannot be empty"),
|
|
|
+ EMPTY_PASSWORD(10102, "Password cannot be empty"),
|
|
|
+ INVALID_USERNAME(10103, "Account does not exist"),
|
|
|
+ INVALID_PASSWORD(10104, "Password error"),
|
|
|
+ INVALID_ACCOUNT(10105, "Invalid account");
|
|
|
|
|
|
public int code;
|
|
|
|