正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -400,7 +400,7 @@ class Api | @@ -400,7 +400,7 @@ class Api | ||
400 | $distance = ceil(getDistance($lat1,$lng1,$lat2,$lng2)); | 400 | $distance = ceil(getDistance($lat1,$lng1,$lat2,$lng2)); |
401 | if ($distance > $config['max_distance']) return false; | 401 | if ($distance > $config['max_distance']) return false; |
402 | // 商品起送金额 | 402 | // 商品起送金额 |
403 | - if($goods_total_price >= $config['goods_total_price']) return 0; | 403 | + if($goods_total_price >= $config['delivery_threshold']) return 0; |
404 | if ($distance > $config['first']){ | 404 | if ($distance > $config['first']){ |
405 | $first_price = $config['first_fee']; | 405 | $first_price = $config['first_fee']; |
406 | $subdistance = $distance-$config['first']; | 406 | $subdistance = $distance-$config['first']; |
-
请 注册 或 登录 后发表评论