添加会员去除校验

This commit is contained in:
张松
2025-03-01 16:23:50 +08:00
parent 94dc13f5f2
commit 2c2ba06e03

View File

@@ -150,8 +150,6 @@ public class ShopUserServiceImpl extends ServiceImpl<ShopUserMapper, ShopUser> i
if (userInfo == null) {
userInfo = BeanUtil.copyProperties(shopUserAddDTO, UserInfo.class);
userInfoService.save(userInfo);
} else {
throw new ApiNotPrintException("此用户已存在");
}
ShopUser shopUser = BeanUtil.copyProperties(shopUserAddDTO, ShopUser.class);