Browse Source

确认订单

master
Lemon 5 years ago
parent
commit
c13addad24
  1. 3
      app/Service/v3/Implementations/UserAddressService.php

3
app/Service/v3/Implementations/UserAddressService.php

@ -100,7 +100,8 @@ class UserAddressService implements UserAddressServiceInterface
$distributionRrice = bcmul(1.50,($km-3),2); $distributionRrice = bcmul(1.50,($km-3),2);
break; break;
case ($km >= 10) : 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; break;
default: default:
$distributionRrice = 0; $distributionRrice = 0;

Loading…
Cancel
Save