You've already forked FrameTour-BE
refactor(pricing): 重构自动发券服务方法命名及逻辑
- 将 autoGrantFirstPrintCoupon 方法重命名为 autoGrantCoupon - 修改 findFirstPrintCouponId 方法名为 findFirstCouponId - 调整优惠券名称匹配逻辑,移除对"first"关键字的检查 - 更新调用方 PrinterServiceImpl 中的方法引用 - 优化自动发券异常处理,确保不影响主流程
This commit is contained in:
@@ -17,5 +17,5 @@ public interface IAutoCouponService {
|
||||
* @param productType 商品类型
|
||||
* @return 是否成功发券
|
||||
*/
|
||||
boolean autoGrantFirstPrintCoupon(Long memberId, Long faceId, Long scenicId, ProductType productType);
|
||||
boolean autoGrantCoupon(Long memberId, Long faceId, Long scenicId, ProductType productType);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user