修改代码模板以及 swagger 配置.

This commit is contained in:
lijiahang
2023-07-14 10:33:19 +08:00
parent bffec6baf5
commit 0b7b0e5ed5
12 changed files with 115 additions and 40 deletions

View File

@@ -70,10 +70,6 @@ public enum ErrorCode implements CodeInfo {
DIABLED_ERROR(715, "数据已被禁用"),
DATA_PRESENT(716, "数据已存在"),
DATA_ABESENT(717, "数据不存在"),
;
ErrorCode(int code, String message) {

View File

@@ -13,4 +13,10 @@ public interface ErrorMessage {
String ID_MISSING = "id 不能为空";
String USERNAME_PASSWORD_ERROR = "用户名或密码错误";
String DATA_PRESENT = "数据已存在";
String DATA_ABSENT = "数据不存在";
}