You've already forked FrameTour-BE
feat(pricing): 新增打印小票和查询券码批次配置功能
- 新增 AppClaimController 控制器处理移动设备端的领券请求 - 实现 ClaimReq 和 ClaimResp 模型类用于领券请求和响应 - 在 VoucherPrintService 接口中新增打印小票方法 - 在VoucherPrintServiceImpl 中实现打印小票和查询券码批次配置的逻辑 - 更新 PriceVoucherBatchConfigMapper 接口和 XML 文件,添加查询券码批次配置的方法
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
package com.ycwl.basic.model.mobile.claim;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ClaimReq {
|
||||
private Long faceId;
|
||||
// 扫码进入的推客ID
|
||||
private Long morphId;
|
||||
// 通知进入的type
|
||||
private Integer type;
|
||||
}
|
@@ -0,0 +1,13 @@
|
||||
package com.ycwl.basic.model.mobile.claim;
|
||||
|
||||
import lombok.Data;
|
||||
|
||||
@Data
|
||||
public class ClaimResp {
|
||||
private Boolean hasPrint;
|
||||
private String printType;
|
||||
private String printCode;
|
||||
private Boolean hasCoupon;
|
||||
private String couponDesc;
|
||||
private String couponCountdown;
|
||||
}
|
Reference in New Issue
Block a user