超级会员相关

This commit is contained in:
张松
2025-09-11 18:15:39 +08:00
parent 8ad76d3844
commit 9c728249f7
4 changed files with 20 additions and 17 deletions

View File

@@ -20,7 +20,7 @@ public class MemberConfigDTO {
public static class ConfigCoupon {
@Min(value = 1, message = "数量不能小于1")
private Integer num;
private ShopCoupon shopCoupon;
private ShopCoupon coupon;
}
@Data

View File

@@ -34,7 +34,7 @@ public interface TbMemberConfigService extends IService<TbMemberConfig> {
* @param userId 用户id
* @return 是否加入成功
*/
boolean joinMember(Long shopId, Long userId);
boolean joinMember(Long shopId, Long userId, Long memberOrderId);
/**
* 发放会员奖励