|
|
@@ -186,7 +186,7 @@ class PaymentService extends BaseService
|
|
|
'out_trade_no' => $outTradeNo,
|
|
|
'description' => $body ? $body : '订单支付',
|
|
|
'amount' => [
|
|
|
- 'total' => intval($amount * 100),
|
|
|
+ 'total' => intval($amount * 1000/10),
|
|
|
'currency' => 'CNY'
|
|
|
],
|
|
|
'payer' => [
|
|
|
@@ -266,7 +266,7 @@ class PaymentService extends BaseService
|
|
|
'attach' => "order-{$type}",
|
|
|
'description' => $body ? $body : '订单支付',
|
|
|
'amount' => [
|
|
|
- 'total' => intval($amount * 100),
|
|
|
+ 'total' => intval($amount * 1000/10),
|
|
|
'currency' => 'CNY'
|
|
|
],
|
|
|
];
|