...
|
...
|
@@ -472,7 +472,7 @@ class Order extends Api |
|
|
$distance_price = $this->distancePrice($lat1,$lng1,$lat2,$lng2);
|
|
|
if ($distance_price === false) $this->error('地址超出配送距离');
|
|
|
|
|
|
if ($coupon !== [] && $coupon['full_price'] < $sum_price) $this->error('优惠券不可使用');
|
|
|
if ($coupon !== [] && $coupon['full_price'] > $sum_price) $this->error('优惠券不可使用');
|
|
|
|
|
|
// 订单地址
|
|
|
$order_address = [
|
...
|
...
|
|