发放传参

This commit is contained in:
2025-12-05 14:09:33 +08:00
parent e345c409dd
commit 0879143285
6 changed files with 36 additions and 15 deletions

View File

@@ -31,6 +31,11 @@ public interface ShopUserService extends IService<ShopUser> {
*/
Page<InviteUserVO> getInviteUser(Long getDistributionUserId, Long shopId, Long shopUserId, Long distributionLevelId, Integer page, Integer size);
/**
* 会自动获取到用户的主店铺id 然后获取用户信息
* 获取用户信息
*/
ShopUser getUserInfo(Long shopId, Long userId);
boolean updateInfo(ShopUser shopUser);

View File

@@ -17,6 +17,10 @@ public class ChatCouponGrantDTO {
* 店铺用户ID
*/
private Long shopUserId;
/**
* 店铺ID
*/
private Long shopId;
/**
* 用户ID
*/

View File

@@ -33,7 +33,7 @@ public interface ChatCouponService extends IService<ChatCoupon> {
/**
* 发放优惠券
*/
void grantChatCoupon(Long id, Long shopUserId, Long userId);
void grantChatCoupon(Long id, Long shopId, Long userId);
/**
* 分页查询优惠券发放记录