包含 s-file 后端、React 前端、MeshSafe 安全检测对接,以及内外网两套 compose/nginx/配置(仅前端 28180/28280 对外发布,其余端口不暴露)。 说明:deploy/config/application-iw.yml 与 application-ow.yml 按维护者 明确要求原样入库,其中含本机 Docker 用的库口令、RabbitMQ 口令与 JWT 密钥;上生产前需替换。
49 lines
669 B
Java
49 lines
669 B
Java
package com.senmesh.common.constant;
|
|
|
|
/**
|
|
* 系统枚举
|
|
*
|
|
* @author sr on 2020-06-02
|
|
*/
|
|
public enum AuthStatusEnum {
|
|
|
|
/**
|
|
* 待认证
|
|
**/
|
|
NOT_AUTH(1, "待认证"),
|
|
/**
|
|
* 认证中
|
|
**/
|
|
AUTHING(2, "认证中"),
|
|
/**
|
|
* 认证成功
|
|
**/
|
|
AUTH_SUCCESS(3, "认证成功"),
|
|
/**
|
|
* 认证失败
|
|
**/
|
|
AUTH_FAIL(4, "认证失败");
|
|
|
|
/**
|
|
* 状态类型
|
|
*/
|
|
private Integer type;
|
|
/**
|
|
* 状态名称
|
|
*/
|
|
private String name;
|
|
|
|
AuthStatusEnum(Integer type, String name) {
|
|
this.type = type;
|
|
this.name = name;
|
|
}
|
|
|
|
public Integer getType() {
|
|
return type;
|
|
}
|
|
|
|
public String getName() {
|
|
return name;
|
|
}
|
|
}
|