...
|
...
|
@@ -6,7 +6,7 @@ use LibModels\Wap\Home\CartData; |
|
|
use LibModels\Wap\Home\OrderData;
|
|
|
use Plugin\Helpers;
|
|
|
use Plugin\Images;
|
|
|
|
|
|
use Plugin\UdpLog;
|
|
|
/**
|
|
|
*
|
|
|
* @name CartModel
|
...
|
...
|
@@ -715,12 +715,15 @@ class CartModel |
|
|
$result = array('code' => 400, 'message' => '出错啦');
|
|
|
|
|
|
if (empty($addressId)) {
|
|
|
UdpLog::info('【结算信息】配送地址参数校验','addressId为空');
|
|
|
$result['code'] = 401;
|
|
|
$result['message'] = '配送地址不能为空';
|
|
|
} elseif (empty($deliveryTime)) {
|
|
|
UdpLog::info('【结算信息】配送时间参数校验','deliveryTime为空');
|
|
|
$result['code'] = 402;
|
|
|
$result['message'] = '请选择配送时间';
|
|
|
} elseif (empty($deliveryWay)) {
|
|
|
UdpLog::info('【结算信息】配送方式参数参数校验','deliveryTime为空');
|
|
|
$result['code'] = 403;
|
|
|
$result['message'] = '请选择配送方式';
|
|
|
} else {
|
...
|
...
|
|