超级会员购买相关

This commit is contained in:
张松
2025-09-12 11:13:35 +08:00
parent f9aa237f98
commit ccb76143cc
3 changed files with 22 additions and 11 deletions

View File

@@ -39,8 +39,10 @@ public interface TbMemberConfigService extends IService<TbMemberConfig> {
/**
* 发放会员奖励
* @param isCost 是否是消费 true 消费 false 充值
* @param money 实际消费金额
* @param expVal 经验值只有当type为pay的时候才生效
* @return 是否成功
*/
boolean deliver(Long shopId, Long userId, TableValueConstant.MemberExpFlow.Type type, BigDecimal money, Integer expVal);
boolean deliver(Long shopId, Long userId, TableValueConstant.MemberExpFlow.Type type, BigDecimal money, Integer expVal, Long sourceId);
}