记录登录信息状态值改为常量

This commit is contained in:
YangHuang
2022-03-09 00:46:24 +08:00
parent 8b3d75a6a0
commit 34487865f3
2 changed files with 12 additions and 2 deletions

View File

@@ -52,6 +52,16 @@ public class Constants
*/
public static final Integer FAIL = 500;
/**
* 登录成功状态
*/
public static final String LOGIN_SUCCESS_STATUS = "1";
/**
* 登录失败状态
*/
public static final String LOGIN_FAIL_STATUS = "0";
/**
* 登录成功
*/