|
|
@@ -163,6 +163,9 @@ public class UserProfileServiceImpl extends ServiceImpl<UserProfileMapper, UserP
|
|
|
throw new CustomException("图片地址错误");
|
|
|
}
|
|
|
}
|
|
|
+ if(Validator.isEmpty(bo.getOrderGoodsId())||bo.getOrderGoodsId()==0L){
|
|
|
+ throw new CustomException("参数错误");
|
|
|
+ }
|
|
|
UserProfile add = BeanUtil.toBean(bo, UserProfile.class);
|
|
|
validEntityBeforeSave(add);
|
|
|
add.setCreateTime(DateUtils.getNowTime());
|