|
@@ -175,6 +175,9 @@ public class UserDeliverOrderController extends BaseApiController {
|
|
|
if (null == orderSettleVO) {
|
|
|
return AjaxResult.error("订单已过期,请重新下单");
|
|
|
}
|
|
|
+ if (null == orderSettleVO.getAddr()) {
|
|
|
+ return AjaxResult.error("请填写收货地址");
|
|
|
+ }
|
|
|
String orderId = userDeliverOrderService.submitOrder(userId, orderSettleVO);
|
|
|
JSONObject jsonObject = new JSONObject();
|
|
|
jsonObject.put("orderId", orderId);
|