Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
0e3af352c3
|
|
@ -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