baidu pay

This commit is contained in:
devil_gong 2019-07-18 13:56:51 +08:00
parent d3b8253c80
commit d439294d62

View File

@ -151,7 +151,7 @@ class Baidu
$data = [
'dealId' => $this->config['dealid'],
'appKey' => $this->config['appkey'],
'totalAmount' => $params['total_price'],
'totalAmount' => (float) $params['total_price'],
'tpOrderId' => $params['order_no'],
'dealTitle' => $params['name'],
'signFieldsRange' => '1',