Browse Source

非prod时$payMoney=1

dev
李可松 4 years ago
parent
commit
10192378d4
  1. 2
      app/Service/v3/Implementations/PaymentService.php

2
app/Service/v3/Implementations/PaymentService.php

@ -61,7 +61,7 @@ class PaymentService implements PaymentServiceInterface
$payMoney = bcmul((string)$orderMain->money, 100, 0); $payMoney = bcmul((string)$orderMain->money, 100, 0);
if (env('APP_ENV') != 'prod' && $orderMain->type == OrderType::ONLINE) { if (env('APP_ENV') != 'prod' && $orderMain->type == OrderType::ONLINE) {
// $payMoney = 1;
$payMoney = 1;
} }
$user = User::select('openid')->find($userId); $user = User::select('openid')->find($userId);

Loading…
Cancel
Save