|
|
@@ -639,6 +639,9 @@ public class MarketFrontServiceImpl implements MarketFrontService {
|
|
|
}
|
|
|
|
|
|
public Long receiveRealGoodsReward(Long userId, LuckyDrawRecord record, Long addressId) {
|
|
|
+ if (addressId == null) {
|
|
|
+ throw new BusinessRuntimeException("请添加收货地址.");
|
|
|
+ }
|
|
|
User user = userMapper.selectById(userId);
|
|
|
/* 生成订单 */
|
|
|
String donNo = SEQUENCE.nextId().toString();
|