init
This commit is contained in:
17
ruoyi-xq/src/main/java/com/ruoyi/xq/enums/ErrorEnum.java
Normal file
17
ruoyi-xq/src/main/java/com/ruoyi/xq/enums/ErrorEnum.java
Normal file
@@ -0,0 +1,17 @@
|
||||
package com.ruoyi.xq.enums;
|
||||
|
||||
import com.ruoyi.common.exception.IErrorService;
|
||||
import lombok.Getter;
|
||||
|
||||
@Getter
|
||||
public enum ErrorEnum implements IErrorService {
|
||||
VIP_AUTH(600100,"权限不足,需要开通VIP")
|
||||
;
|
||||
private final Integer code;
|
||||
private final String text;
|
||||
|
||||
ErrorEnum(Integer code, String text) {
|
||||
this.code = code;
|
||||
this.text = text;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user