加入会员接口修改
This commit is contained in:
parent
868aa1bf0f
commit
627bd0761b
|
|
@ -260,7 +260,7 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
|
|||
} else if (shopUser.getIsVip() == 1) {
|
||||
throw new ApiNotPrintException("您已加入店铺会员");
|
||||
}
|
||||
shopUser = BeanUtil.copyProperties(shopUserAddDTO, ShopUser.class);
|
||||
BeanUtil.copyProperties(shopUserAddDTO, shopUser);
|
||||
shopUser.setIsVip(1);
|
||||
shopUser.setCode(generateCode(shopId));
|
||||
shopUser.setJoinTime(DateUtil.date().toLocalDateTime());
|
||||
|
|
|
|||
Loading…
Reference in New Issue