|
|
@@ -78,7 +78,8 @@ public class OrderController {
|
|
|
@ApiOperation(value = "结算,生成订单信息", notes = "传入下单所需要的参数进行下单")
|
|
|
public ResponseEntity<ShopCartOrderMergerDto> confirm(@Valid @RequestBody OrderParam orderParam) {
|
|
|
if (orderParam.getShopId() == null){
|
|
|
- throw new GlobalException("请选择店铺!");
|
|
|
+ orderParam.setShopId(1L);
|
|
|
+// throw new GlobalException("请选择店铺!");
|
|
|
}
|
|
|
String userId = SecurityUtils.getUser().getUserId();
|
|
|
|