Browse Source

金额错误

undefined
v-Brocloni 4 years ago
parent
commit
3e86d176f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      addons/unishop/controller/Pay.php

+ 1
- 1
addons/unishop/controller/Pay.php View File

@@ -99,7 +99,7 @@ class Pay extends Base
$trade_type = 'wap';
}
$params = [
'amount' => bcmul($order['total_price'], 100),
'amount' => $order['total_price'],
'orderid' => $order->out_trade_no,
'type' => "wechat",
'title' => $body,


Loading…
Cancel
Save