From c13addad24366685c76fe162429f8d2c8c8e272c Mon Sep 17 00:00:00 2001 From: Lemon <15040771@qq.com> Date: Thu, 10 Sep 2020 10:44:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A1=AE=E8=AE=A4=E8=AE=A2=E5=8D=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Service/v3/Implementations/UserAddressService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Service/v3/Implementations/UserAddressService.php b/app/Service/v3/Implementations/UserAddressService.php index 06d3bcf..e84ce0d 100644 --- a/app/Service/v3/Implementations/UserAddressService.php +++ b/app/Service/v3/Implementations/UserAddressService.php @@ -100,7 +100,8 @@ class UserAddressService implements UserAddressServiceInterface $distributionRrice = bcmul(1.50,($km-3),2); break; case ($km >= 10) : - throw new ErrorCodeException(ErrorCode::LOCATION_LONG_DISTANCE); + $distributionRrice = bcmul(1.50,($km-3),2); + // throw new ErrorCodeException(ErrorCode::LOCATION_LONG_DISTANCE); break; default: $distributionRrice = 0;