You've already forked FrameTour-BE
feat(printer): 支持上传裁剪参数并更新照片裁剪信息
- 在 AppPrinterController 中新增 crop 参数用于接收裁剪数据 - 修改 PrinterMapper 和 PrinterService 接口及实现,支持保存 crop 字段 - 更新 MemberPrintResp 模型以包含 crop 属性 -优化 Mapper XML 查询语句,统一使用 SELECT p.* 提高可读性 - 数据库更新语句中添加 crop 字段的赋值操作
This commit is contained in:
@@ -42,7 +42,7 @@ public interface PrinterService {
|
||||
|
||||
MemberPrintResp getUserPhoto(Long memberId, Long scenicId, Long id);
|
||||
|
||||
int setPhotoCropped(Long memberId, Long scenicId, Long id, String url);
|
||||
int setPhotoCropped(Long memberId, Long scenicId, Long id, String url, String crop);
|
||||
|
||||
int setPhotoQuantity(Long memberId, Long scenicId, Long id, Integer quantity);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user