You've already forked FrameTour-BE
feat(printer): 添加图片类型字段支持不同来源图片处理
- 在 MemberPrintEntity 和 MemberPrintResp 中新增 imageType 字段 - 根据 sourceId 自动设置图片类型为移动上传或普通照片 - 拼图类型图片明确标记为 PUZZLE 类型 - 修改图片来源判断逻辑从 sourceId 改为 imageType 字段 - 更新数据库映射文件添加 image_type 字段映射
This commit is contained in:
@@ -114,6 +114,7 @@
|
||||
scenic_id,
|
||||
face_id,
|
||||
source_id,
|
||||
image_type,
|
||||
orig_url,
|
||||
crop_url,
|
||||
crop,
|
||||
@@ -126,6 +127,7 @@
|
||||
#{scenicId},
|
||||
#{faceId},
|
||||
#{sourceId},
|
||||
#{imageType},
|
||||
#{origUrl},
|
||||
#{cropUrl},
|
||||
#{crop},
|
||||
|
||||
Reference in New Issue
Block a user