故事项新建调整,上传图像增加缩略图

This commit is contained in:
jiangh277
2025-08-06 18:38:42 +08:00
parent 75e61a1bf4
commit 7f3505ab2e
13 changed files with 139 additions and 97 deletions

View File

@@ -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_";
}

View File

@@ -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;