|
@@ -677,9 +677,9 @@ public class SeckillServiceImpl implements SeckillService {
|
|
|
*/
|
|
|
@Override
|
|
|
public OrderNoResponse createOrder(CreateOrderRequest orderRequest, PreOrderInfoVo orderInfoVo, User user) {
|
|
|
- //if (user ==null) {
|
|
|
- // throw new CrmebException("获取用户信息失败无法创建订单");
|
|
|
- //}
|
|
|
+ if (user ==null) {
|
|
|
+ throw new CrmebException("获取用户信息失败无法创建订单");
|
|
|
+ }
|
|
|
//if(Strings.isNullOrEmpty(user.getPhone())){
|
|
|
// throw new CrmebException("请添加手机号");
|
|
|
//}
|