baidu pay

This commit is contained in:
devil_gong 2019-07-18 14:03:56 +08:00
parent 2e89195aea
commit 31c96a29d7

View File

@ -155,9 +155,8 @@ class Baidu
'tpOrderId' => $params['order_no'],
'dealTitle' => $params['name'],
'signFieldsRange' => 1,
'bizInfo' => (object) [],
];
$biz_info = [];
$data['bizInfo'] = json_encode($biz_info, JSON_UNESCAPED_UNICODE);
$data['rsaSign'] = $this->SignWithRsa($data);
return DataReturn('处理成功', 0, $data);