故事项新建调整,上传图像增加缩略图
This commit is contained in:
@@ -13,4 +13,5 @@ public class CommonConstants {
|
||||
|
||||
public static final int DELETED = 1;
|
||||
public static final int NOT_DELETED = 0;
|
||||
public static final String LOW_RESOLUTION_PREFIX = "low_res_";
|
||||
}
|
||||
|
||||
@@ -28,7 +28,8 @@ public enum ResponseEnum {
|
||||
GATEWAY_TIMEOUT(504, "网关超时"),
|
||||
|
||||
// 操作错误
|
||||
SEARCH_ERROR(4001, "查询数据库错误");
|
||||
SEARCH_ERROR(4001, "查询数据库错误"),
|
||||
NOT_FOUND_ERROR(4002, "未找到该资源");
|
||||
|
||||
private final int code;
|
||||
private final String message;
|
||||
|
||||
Reference in New Issue
Block a user