feat:用户注册
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.xiang.xservice.auth.api.code;
|
||||
|
||||
import com.xiang.xservice.basic.exception.code.BaseErrorCode;
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum UserErrorCode implements BaseErrorCode {
|
||||
|
||||
USER_NOT_EXISTS("A1000101", "用户不存在"),
|
||||
USER_EXISTS("A1000102", "用户已存在"),
|
||||
USER_LOGIN_ERROR("A1000103", "用户登录失败!"),
|
||||
USER_REGISTER_ERROR("1000104", "用户注册失败!"),
|
||||
;
|
||||
|
||||
private final String code;
|
||||
private final String message;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user